Hi, I think LABEL_ID is an autogenerated ID (INT) which can be used for foriegn keys.
The UUID should be a VARCHAR. This will be used in the REST API to retrieve/update labels Thanks On Thu, May 3, 2018 at 12:18 PM, Mushthaq Rumy <[email protected]> wrote: > Hi Krishan, > > Is this for APIM 3.0.0? And if the UUID is unique then IMO we will not > need a Label_I'd. > > Thanks & Regards, > Mushthaq > > On Thu, 3 May 2018, 12:13 Dinusha Dissanayake, <[email protected]> wrote: > >> Hi Krishan, >> >> What is the difference between UUID and Label_ID? >> >> Thanks, >> DinushaD. >> >> On Wed, May 2, 2018 at 6:26 PM, Krishan Wijesena <[email protected]> >> wrote: >> >>> Hi All, >>> >>> >>> Currently, I'm working on the Labeling feature for API Manager gateway. >>> API Manager need to allows adding labels to the APIs in create/update >>> phases from the publisher, so that labels help to grouping APIs into API >>> manager gateway. >>> >>> If the user requests the particular label, then it provides the set of >>> APIs that deploy in the same gateway. >>> >>> As initial phase, labels should be defined by the admin(Super/Tenant) >>> using admin dashboard and the particular label should have set of >>> properties. >>> >>> To do that I need to introduce AM_LABEL table to the AM database to >>> store the labels and it’s schema as follows. >>> >>> LABEL_ID is the primary key and (NAME & TENANT_ID) is Unique. >>> >>> Label should have separate Http and Https basepath. >>> >>> >>> >>> >>> *Multi-Tenant support* >>> >>> We need to support the multi-tenancy of the adding labels. >>> >>> Super/Tenant admin can define new labels based on the requirement. >>> >>> So I introduce the TENANT_ID field to the AM_LABEL table. >>> >>> For example, Tenant_admin_A and Tenant_admin_B can introduce the same >>> label "X" which have two base_path. >>> >>> Comments or suggestions are highly appreciated. >>> >>> Thanks & Regards >>> -- >>> >>> *Krishan Wijesena* >>> Software Engineer | WSO2 >>> >>> Email : [email protected] >>> Mobile : +94776219923 >>> WSO2 Inc : http://wso2.com >>> [image: http://wso2.com/signature] <http://wso2.com/signature> >>> >> >> >> >> -- >> Dinusha Dissanayake >> Software Engineer >> WSO2 Inc >> Mobile: +94712939439 >> <https://wso2.com/signature> >> _______________________________________________ >> 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
