Hi, On Fri, May 4, 2018 at 11:15 AM, Prasanna Dangalla <[email protected]> wrote:
> > HI, > > > > On Fri, May 4, 2018 at 11:07 AM Chamin Dias <[email protected]> wrote: > >> On Fri, May 4, 2018 at 9:19 AM, Dinusha Dissanayake <[email protected]> >> wrote: >> >>> >>>> >>>> AFAIU we are going to use labels when downloading a subset of APIs via >>>> Microgateway. If it is not mandatory to have the labels, how are we going >>>> to handle the APIs without labels in Microgateway? Are we not going to >>>> download the APIs without labels? >>>> >>>> As Sachini has mentioned above if a subset of APIs to be deployed in >>> the micro gateway, it needs to have a label. Say if APIs have a default >>> label called "def_label". Then if we call "setup def_label", all the APIs >>> will be deployed in the micro gateway. Hence I do not think having a >>> default label would add a significant value. Only the APIs needed to be >>> deployed in the micro gateways will have labels AFAIR. (please correct me >>> if I am wrong) >>> >> >> Agree with Dinusha. As per the previous discussions >> <http://mail.wso2.org/mailarchive/architecture/2018-May/030704.html> >> also this fact has been confirmed. Hence the business value of adding a >> default label would be minor IMHO. >> > Yes IMO too it not mandaory to add a default value to the label. > > We need to decide, how we are storing the label vales that are attched to > a specific label. There are three options as for the discussion had. > > - Store it as an API RXT filed value. > - Add the label as a property to the API reource > - Add the label to AM_DB > > All curent search queries we are running in registry(solr). If we use a seperate mapping in AM_DB, we might not be able to use multiple searches at the same time, eg: search APIs which have has label "Internal" status: "PUBLISHED" or "PROTOTYPED" since we do not keep status in the DB. So I think we need to go for option 1 or 2. WDYT? Can we store multivalued attributes in registry properties? Thanks! Malintha > Your thoughts on the above factor is hoghly appreciated. > > @Chamin: Can you share a digram of the floor that we discussed. > > Thanks > Prasanna > > >> >>> >>> Thanks, >>> DinushaD. >>> >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> >> >> -- >> Chamin Dias >> Mobile : 0716097455 >> Email : [email protected] >> LinkedIn : https://www.linkedin.com/in/chamindias >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Malintha Amarasinghe *WSO2, Inc. - lean | enterprise | middleware* http://wso2.com/ Mobile : +94 712383306
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
