Hi I successfully submitted my proposal , and thank you all for helping me and providing me support and guidance as well as Providing information on project which helped me a lot in writing my proposal and once again thank you .
I will continue my work on Environment Support for WSO2 API Manager , Implementation and designing parts , If i have any doubts i will contact you all via the mailing list . Thank you Ravindu Perera On Thu, Mar 23, 2017 at 10:21 PM, Ravindu Perera <ravindu.2014...@iit.ac.lk> wrote: > Hi > This was about the the problem which was mentioned about the > authentication should be done after switching from one environment to > another as i did a small research and found out a solution , For example if > we need to move from Dev environment to production environment an > authentication should be done because the same auth token cannot be used. > instead of logging again when the user logs in to one environment initially > in the authentication stage we can have a built-in method which will > generate token to other environments as well so , then by using the tokens > generated without redirecting a login can directly access the other > environments. > > This is one solution that i found after doing a small research , so the > solution will help to overcome the problem , but i just gave an idea but > there may be better solutions . > > Thank you > Regards > Ravindu > > > On Wed, Mar 22, 2017 at 1:08 AM, Ravindu Perera <ravindu.2014...@iit.ac.lk > > wrote: > >> Hi >> I wrote a blog post on how to build WSO2 API Manager from code base step >> by step , and more blog post coming up about UUF-Framework and working with >> it . I also went through Swagger js as well , and i forked the code from >> GitHub and working on coding part in-order to get familiarized with coding >> and coding standards as well. >> >> blog post link :-http://ravinduperer.blogspot.com/2017/03/wso2-building- >> api-manager-from-codebase.html. >> >> Thank you. >> >> On Mon, Mar 20, 2017 at 9:21 PM, Ravindu Perera < >> ravindu.2014...@iit.ac.lk> wrote: >> >>> Thanks a lot Mr Nuwan Dias >>> >>> The information provide was really helpful to understand the overall >>> requirement and the architecture of the project , and with these >>> information that was provide i am focusing on frameworks for creating the >>> user-interface which UUF-Framework and also the Swagger-JS client library >>> to call REST APIs. >>> >>> And Once again thank you. >>> >>> On Mon, Mar 20, 2017 at 2:00 PM, Nuwan Dias <nuw...@wso2.com> wrote: >>> >>>> Hi Ravindu, >>>> >>>> The below diagram might help you to understand this better. >>>> >>>> [image: Inline image 2] >>>> >>>> The API Manager UI is built following a Single Page Application >>>> architecture. Which means the UI rendering code runs mostly on the client >>>> (web browser). The data is fetched to the client using Rest APIs which >>>> reside on the "Core". This single page application is hosted on server. In >>>> this particular project, what we're trying to do is to make the UI app >>>> (SPA) aware of "Cores" residing in different environments. So that when >>>> someone switches environments, the client (browser) connects to the Rest >>>> API in the respective environment to fetch data. >>>> >>>> So what really changes when you switch environments is the data. For >>>> example, in you dev environment if you have 5 APIs and your prod >>>> environment you just have two APIs. When you switch from dev to prod, the 5 >>>> dev APIs should vanish and the 2 prod APIs should appear on your page. The >>>> surrounding layout, style, colors and stuff would remain the same since >>>> they're being served from a single app (SPA), its just the data that >>>> changes since those are being served by Rest APIs in respective >>>> environments. >>>> >>>> Thanks, >>>> NuwanD. >>>> >>>> On Sat, Mar 18, 2017 at 5:47 AM, Ravindu Perera < >>>> ravindu.2014...@iit.ac.lk> wrote: >>>> >>>>> Hi >>>>> >>>>> I have an question regarding the UI about what are the changes that >>>>> should be made when the API Manager changes its Environment. >>>>> >>>>> Eg:- lets say i have Dev server and then it switches to a production >>>>> server what are the UI changes that should actually occur when the >>>>> switching between Environments and where should it change can you all >>>>> provide a bit more information because this will help me to understand the >>>>> project more deeply >>>>> >>>>> Thank you >>>>> Ravindu. >>>>> >>>>> >>>>> On Fri, Mar 17, 2017 at 12:00 AM, Ravindu Perera < >>>>> ravindu.2014...@iit.ac.lk> wrote: >>>>> >>>>>> Thanks alot Kasun >>>>>> >>>>>> I have started writing the proposal for the project , if i have more >>>>>> problems i will ask for help , and is it possible to request and KT >>>>>> session >>>>>> Knowledge transfer session on this particular project if it is possible >>>>>> to >>>>>> get more and additional knowledge , It would be really helpful session >>>>>> via >>>>>> hangouts or any form of communication . >>>>>> >>>>>> Ravindu >>>>>> >>>>>> On Thu, Mar 16, 2017 at 8:03 AM, Kasun Thennakoon <kasu...@wso2.com> >>>>>> wrote: >>>>>> >>>>>>> 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/compo >>>>>>> nents/web/components/org.wso2.carbon.apimgt.publisher.common >>>>>>> s.ui/src/main/component.yaml#L13 >>>>>>> >>>>>>> Regards >>>>>>> ~KasunTe >>>>>>> >>>>>>> On Mon, Mar 13, 2017 at 9:58 PM, Ravindu Perera < >>>>>>> ravindu.2014...@iit.ac.lk> 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 < >>>>>>>> kasu...@wso2.com> 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/samp >>>>>>>>> les >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Feb 21, 2017 at 9:27 AM, Ravindu Perera < >>>>>>>>> ravindu.2014...@iit.ac.lk> 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 >>>>>>>>>> Dev@wso2.org >>>>>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> >>>> -- >>>> Nuwan Dias >>>> >>>> Software Architect - WSO2, Inc. http://wso2.com >>>> email : nuw...@wso2.com >>>> Phone : +94 777 775 729 <+94%2077%20777%205729> >>>> >>> >>> >> >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev