Before being published, APIs are packaged into Products. Products allow related APIs to be bundled together for subscribers. In Lab 1, when the inventory microservice application was generated, it also created a default product. In this section, you will create a new product from scratch and stage it to your API Manager in Bluemix.
Create a New Product
-
Click on the
Productstab in your API Connect Toolkit. -
Click on the
Add +button and selectNew Product. -
Title this product
Think Inventoryand click on theCreate Productbutton. -
Navigate to the APIs section. Click on the
+button to add APIs to this Product. -
Select the
inventory 2.0.0andoauth 1.0.0APIs, then click theApplybutton.
-
Save the Product.
Stage the Product in your API Manager on IBM Bluemix
-
Click on the
Publishbutton and choose your Sandbox target. -
Select the option to
Stage or Publish products.If the
Publish applicationoption is selected, un-check it. -
Select the options for
Stage onlyand alsoSelect specific products. -
Choose the
think-inventoryproduct, then click thePublishbutton.
Continue
Proceed to Replace the Old Product.