On Thu, Feb 9, 2017 at 11:08 AM, Rukshan Premathunga <[email protected]>
wrote:

> Hi all,
>
> Another confusion scenario is some GW nodes are get register and again
> could be down. The another GW will register with same label and diffrent
> URL. In this case are we allowed to update existing level-GW_url or
> disallow to register that GW?
>
> Also if existing GW url is changed how we gonna edit the label? Since we
> have not provide label editing UI feature, we should update the label info
> that are reading from configuration.
>
> Thanks and Regards
>
> On Wed, Feb 8, 2017 at 6:03 PM, Pubudu Gunatilaka <[email protected]>
> wrote:
>
>> 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.
>>
>> So in that case,  there would be a sorting based on the label on the
publisher side?  would there be an update all also? Another thing, what if
a label is not given at start up for the gateway? does that mean that
gateway will serve all API's?

> 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
>>
>>
>
>
> --
> Rukshan Chathuranga.
> Software Engineer.
> WSO2, Inc.
>
> _______________________________________________
> 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
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

Reply via email to