Hi Pubudu,

You have to set the className when adding a external store in APIM 1.9.0.
so when you are adding your configuration to api-manager.xml make sure you
have set the className.

<ExternalAPIStore id="Store1" type="wso2"
className="org.wso2.carbon.apimgt.impl.publishers.WSO2APIPublisher">

Thanks,
Sam

On Tue, Aug 11, 2015 at 9:57 AM, Pubudu Gunatilaka <[email protected]> wrote:

> Hi,
>
> I was able to do the $subject by following [1]. In this approach
> configuration resides in the registry. I found another way of adding
> external API Stores which is used in API Manager 1.6.0 in [2]. I followed
> the same steps in API Manager 1.9.0. Although it list down external stores
> in the publisher, I am getting following error when trying to store an api.
>
> *ERROR - external:jag java.lang.NullPointerException: null*
>
> Does this second approach[2] support in API Manager 1.9.0?
>
> My intention is to automate of adding external API Stores. Therefore it is
> needed to add from configuration files rather than using registry
> resources. Is there any other approach I can follow?
>
> [1] -
> https://docs.wso2.com/display/AM190/Publish+to+multiple+external+API+stores
> [2] - https://docs.wso2.com/display/AM160/Publishing+to+API+Stores
>
> Thank you!
> --
>
> *Pubudu Gunatilaka*
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 77 4078049
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Sam Sivayogam*

Software Engineer
Mobile  : +94 772 906 439
Office   : +94 112 145 345
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to