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
Products
tab in your API Connect Toolkit. -
Click on the
Add +
button and selectNew Product
. -
Title this product
Think Inventory
and click on theCreate Product
button. -
Navigate to the APIs section. Click on the
+
button to add APIs to this Product. -
Select the
inventory 2.0.0
andoauth 1.0.0
APIs, then click theApply
button. -
Save the Product.
Stage the Product in your API Manager on IBM Bluemix
-
Click on the
Publish
button and choose your Sandbox target. -
Select the option to
Stage or Publish products
.If the
Publish application
option is selected, un-check it. -
Select the options for
Stage only
and alsoSelect specific products
. -
Choose the
think-inventory
product, then click thePublish
button.
Continue
Proceed to Replace the Old Product.