Thank you Sam and all! Here I have new question on this. I have the similar scenario, but it’s for WSO2 APP Manager. Here we try to deploy web applications like war files instead of API’s. I currently download the binary version 1.0.0 of WSO2 App Manager from http://wso2.com/products/app-manager
The case is like this: 1. I have a lot of developers. Each developer develops his/her own web applications. And each developer publishes only his own applications, not other developers’ applications. 2. We want to share those applications in a common place to an external store such that all subscribers can subscribe to them. How can I do it? Thanks in advance! Bill From: Sam Sivayogam [mailto:[email protected]] Sent: Wednesday, May 27, 2015 11:36 PM To: Bill Liu Cc: WSO2 Developers' List Subject: Re: [Dev] how to set up WSO2 API manager for this special case? Hi Bill, You can use tenants[1] to achieve your use-case. What you can do is, add two tenants (refer [2] ) for developer1 and developer2. When you are adding a tenant you will add an admin user for that tenant so using that developer1 and developer2 can login to their tenants. When users are adding APIs In Tenant mode the API's will remain in their own tenants and will not be visible to others. If you want to share the apis developed by developer1 and developer2 in a common place you need to publish the API's to an external store. In your case you can set super tenant (which will be added by default) as the external store and you can publish the APIs to super tenant's store. refer [3] to setup an external store [1]. https://docs.wso2.com/display/AM180/Multi+Tenant+Architecture [2]. https://docs.wso2.com/display/AM180/Managing+Tenants [3]. https://docs.wso2.com/display/AM180/Publish+to+multiple+external+API+stores Thanks, Sam On Thu, May 28, 2015 at 3:25 AM, Bill Liu <[email protected]> wrote: Greetings all: I am learning WSO2 API manager. I downloaded the binary version 1.8.0 from URL, http://wso2.com/api-management/try-it/. I try to set up the WSO2 API manager to achieve my goal like this: Here I have a group of developers, like developer1, developer2 and etc. Each developer develops mutiple api's. For example, developer1 develops two api's like api1_1, api1_2. And developer2 develops three api's like api2_1, api2_2, api2_3. Here each developer are allowed to publish ONLY his/her own api's to API store; in other words each developer is NOT allowed to publish any other developer's api's to API store. For example, developer1 is allowed to publish api1_1 and api1_2, but is not allowed to publish api2_1, api2_2, api2_3. And developer2 is allowed to publish api2_1, api2_2 and api2_3, but is not allowed to publish api1_1 and api1_2. The catch here is that the current implementation of WSO2 API manager allows each developer to publish other developer's api, which is not my goal. Please advice how to configure WSO2 API manager to achieve my goal. Or it's impossible? Any suggestion will be highly appreciated. Thanks in advance, Bill _______________________________________________ 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. : <http://wso2.com/> wso2.com lean.enterprise.middleware.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
