Hi Ravindi, Sorry for the delay in reply, great to see your progress on the project. let me give answers for above 2 questions:
Question 1. Currently, we don't have such an API to get the environment details, But what we are planning to do is, keep that environment information within in the web app(UUF App) as a configuration parameter, and then by using that configuration, we can give an option to switch between those environments from the webapp. For an example, you can start 3 APIM servers with different port offsets assuming those servers representing different environments of an organization.(i:e, QA with offset 1, DEV in offset 2 and PROD represent the pack with offset 0). Then you can keep those environments details in the UUF app configuration, For now, you can keep those details in the *component.yamal*[1] of the publisher commons component. Below I have attached a sample configuration, We need to discuss further and come up with a suitable configuration format. > environments: > - qa: > location: qa.sample.com:9292 > version: 3.0.0 > - dev: > location: dev.sample.com:9292 > version: 3.0.0 > - prod: > location: apim.sample.com > version: 3.0.0 Question 2. No, Since we don't have a configuration as above now, The environment information is not displayed in the webapps(UUF apps). [1]: https://github.com/wso2/carbon-apimgt/blob/master/components/web/components/org.wso2.carbon.apimgt.publisher.commons.ui/src/main/component.yaml#L13 Regards ~KasunTe On Mon, Mar 13, 2017 at 9:58 PM, Ravindu Perera <[email protected]> wrote: > Hi All > I have actually gone thought the instructions given I want to get a > problem clarified. I researched and found that from the store APIs can get > which environment the currently the API is in , or is it when i am > publishing the API i should get the environment. > > question 1 > Which one of these methods are the best approach or if i am wrong can you > all please help me in-order to find the correct approach to get which > environment . the current API are in . > > question 2 > In the API store of the API manager , is there a specific way to show the > Environment (example should it be with API description ) > can you please elaborate more on how should the environment should be > present in the store. > > think you all will help me to find answers for the questions , these > information will be helpful in writing the proposal and also making and > proper planning for the project. > Thank you > > > On Tue, Feb 21, 2017 at 11:19 AM, Kasun Thennakoon <[email protected]> > wrote: > >> Hi Ravindu, >> >> We are glad to see your interest in WSO2 API manager and the GSOC >> project. It is good to see that you already have experience on working with >> WSO2 API Manager. >> As we have mentioned in the project description[1], the expectation of >> this project is to develop an UI feature to seamlessly switch between >> different environments and perform user operations on that selected >> environment.To get started with the work, I would suggest you build the >> product from source[2][3] and walk through the current implementation >> details of the store and publisher and try to get familiar with those apps. >> And also since API manager C5 UIs are built with UUF framework[4] it >> would be great if you can try out the samples in UUF core[5] and UUF >> commons[6] repositories and learn about the features and capabilities in >> UUF framework. >> >> Regards >> ~KasunTe >> >> [1] : https://docs.wso2.com/display/GSoC/Project+Proposals+for+2 >> 017#ProjectProposalsfor2017-Proposal7:EnvironmentsSupportfor >> WSO2APIManager >> >> [2] : https://github.com/wso2/carbon-apimgt/tree/C5 >> >> [3] : https://github.com/wso2/product-apim/tree/C5 >> >> [4] : https://github.com/wso2/carbon-uuf >> >> [5] : https://github.com/wso2/carbon-uuf/tree/master/samples >> >> [6] : https://github.com/wso2/carbon-uuf-common/tree/master/samples >> >> >> On Tue, Feb 21, 2017 at 9:27 AM, Ravindu Perera < >> [email protected]> wrote: >> >>> Hi >>> I am a 3rd year student from Informatics Institute of technology and i >>> got 3 years experience in HTML, CSS, Javascript and knowledge and also >>> knowledge in using rest service , and experience on using the WSO2 API >>> Manger cloud as well , familiar handlebars.js . And have a good confident >>> level for this project , so can you all please provide more information and >>> guidance to start the project off. >>> >>> Thank you >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> *Kasun Thennakoon* >> Software Engineer >> WSO2, Inc. >> Mobile:+94 711661919 >> > > -- *Kasun Thennakoon* Software Engineer WSO2, Inc. Mobile:+94 711661919
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
