This documentation is for WSO2 API Manager 1.5.0 View documentation for the latest release.
Page Comparison - Publishing to API Stores (v.9 vs v.10) - API Manager 1.5.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

API publishers can share an API to application developers who are subscribed to multiple tenant-specific WSO2 API Stores, in order to expose the API to a wider community.

Note

From WSO2 API Manager 1.5.0 onwards, you can publish APIs only to WSO2-specific external API Stores.

 Follow the steps below to configure:

  1. Uncomment the existing <ExternalAPIStores> element in <AM_Home>/repository/conf/api-manager.xml file of the API Publisher node, and configure an <ExternalAPIStores> element for each external WSO2 API Stores that you need to publish APIs to. For example,

    Code Block
    languagehtml/xml
    <ExternalAPIStores>       
           <ExternalAPIStore id=”Store1” type="wso2">
              <DisplayName>Store1</DisplayName>
              <Endpoint>http://localhost:9763/store</Endpoint>
              <Username>xxxx</Username>
              <Password>xxxx</Password>
          </ExternalAPIStore>
    </ExternalAPIStores>
  2. d

 

  1. In above configuration,

...

  1. Element/AttributeDescription
    idThe external store identifier

...

  1. , which is

...

  1. a unique value.
    type

...

  1. Type of the Store. APIM 1.5.0 release supports only WSO2-specific API Stores. Other types will be supported in future releases.
    <DisplayName>

...

  1. The name of the Store that is displayed in the publisher UI.

    <Endpoint>

...

  1. URL of the API Store.
    <Username> & <Password>

...

  1. Credentials of a user who has permissions to create and publish APIs.

...

  1. Add a secure vault configuration for user

...

  1. credential given above, to secure the

...

  1. credentials

...

 

...

  1. .

  2. For each external API Store, add a configuration similar to the one below in <AM_Home>/repository/conf/security

...

  1. /cipher-tool.properties file. 

    Code Block
    ExternalAPIStores.ExternalAPIStore.Password_{store_id}=api-manager.xml//APIManager/ExternalAPIStores/ExternalAPIStore[@name='External_Store_id_defined_in_api-manager.xml']/Password,true

...

  1. Add the following to <AM_HOME>/repository/conf/security

...

  1. /cipher-text.properties file:

    Code Block
    ExternalAPIStores.ExternalAPIStore.Password_{store_id}=[user_password]

     

     



 

 


 

Then using the cipher tool to generate the encrypted values for above password configuration and use that encrypted password for above configuration in api-manager.xml.

...