Hi Shani,

Initially, you cannot update or delete a particular label. But you can add
a new label by starting up a new gateway with a new label. Then if you need
to change the particular label in an API, you need to update that API.

Thank you!

On Wed, Feb 8, 2017 at 5:39 PM, Shani Ranasinghe <[email protected]> wrote:

> At this stage, are we looking at editing a label also?
>
> 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
>>
>>
>
>
> --
> Thanks and Regards
> *,Shani Ranasinghe*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555 <+94%2077%20227%203555>
> Blog: http://waysandmeans.blogspot.com/
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*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

Reply via email to