Hi Pubudu,

A few minor questions to understand how this works exactly.

1) Let's say publisher publishes a "public" API. Then, a notification will
be added to the topic. Does this notification has label information so that
"private" gateways can ignore it?

2) Let's say we introduce a gateway with a new label. Now do we have an UI
in publisher to assign existing APIs to this new label, or do we have to
update each API individually? Former would give a better user experience.

3) I believe there will be a service in the Core to register new label so
that gateways can use. Is that how it works?

Thanks,
Bhathiya

On Wed, Feb 8, 2017 at 5:12 PM, Pubudu Gunatilaka <[email protected]> wrote:

> Hi,
>
> Please find the answers inline.
>
> On Wed, Feb 8, 2017 at 4:48 PM, Abimaran Kugathasan <[email protected]>
> wrote:
>
>> Will Gateway pull APIs based on the labels which are assigned to them
>> from Message Broker, or they will pull all the APIs and the only APIs which
>> are having the defined label for the gateway will be served and other APIs
>> will be discarded?
>>
>>  Gateways can start as follows.
>
> 1. On demand - serve the APIs on demand. When there is a request for an
> API, gateway will provide its label and get the API artifact from the
> publisher.
> 2. All - Gateway will fetch all the APIs by providing the label from the
> publisher. The publisher will only provide the APIs which have the
> requested label in the API.
> 3. Any number - We can define the number of APIs to fetch at startup.
>
> Labels should be assigned to the APIs by the time of API publishing.
> Labels will be assigned to gateways at startup of the gateway node. Message
> broker does not assign any labels.
>
> Thank you!
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Bhathiya Jayasekara*
*Associate Technical Lead,*
*WSO2 inc., http://wso2.com <http://wso2.com>*

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
<http://www.linkedin.com/in/bhathiyaj>*
*Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
*Blog: http://movingaheadblog.blogspot.com
<http://movingaheadblog.blogspot.com/>*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to