Re: [Dev] Introducing myself to mentors for GSOC Project CLI tool for WSO2 API Manager
Hi Pubudu, I have included some details about storing credentials in the proposal. Thank your for your prompt replies. I am submitting the proposal today. Hope i will be selected to contribute to this project. best regards, Vinujan.S On Sat, 1 Apr 2017 at 16:47 Pubudu Gunatilaka <pubu...@wso2.com> wrote: > Hi Vinujan, > > As CLI tool needs to be worked with multiple environments, I think we may > have to store the username and password in a secure way. Otherwise, when > switching we may have to ask the username and password all the time. To > access the REST APIs you will get an access token and we can save it in a > config file. > > We can encrypt the credentials if we are going to store the credentials. > Please do some research on storing passwords for CLI tools and get some > idea. You can include that in the proposal as well. > > Thank you! > > On Fri, Mar 31, 2017 at 11:44 PM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Hi Pubudu, > > Yeah that is a good idea. It will give users more flexibility. In some > cases users may forget some parameters ( 7 +- chunk memory property ) , > this solution will help for those scenarios. I am thinking to implement > both flag and query method. Thank you for the idea. > > Do i am thinking to implement security measures such as encryption or > hashing when storing application configurations and credentials? What ia > your opinion on this ?. > > Regards, > Vinujan.S > > On Fri, 31 Mar 2017, 6:31 p.m. Pubudu Gunatilaka, <pubu...@wso2.com> > wrote: > > HI Vinujan, > > IMHO, we should have the capability to support the both scenarios. Maybe > the initial version we can stick with option 2. But it would be better if > we can have both scenarios. > > Also, we need to consider the environment when logging. Environments could > be Dev, QA, Prod, Cloud, etc. CLI tool should be able to work with > different environments. > > Thank you! > > On Fri, Mar 31, 2017 at 6:03 PM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Hi pubudu, > > What is expected/suitable for for this scenario > > 1. APIManager login -u admin -p admin > Or > 2. APIManager login > > username: > >password: > > Most command tool application uses flags instead of querying parameters > one by one. What is suitable for this application. > > Regards, > Vinujan.S > > On Fri, 31 Mar 2017, 4:59 p.m. Vinujan Shangarapillai, < > vinujan...@cse.mrt.ac.lk> wrote: > > Thank you for the reply. I am looking into it. > > On Fri, 31 Mar 2017, 4:25 p.m. Pubudu Gunatilaka, <pubu...@wso2.com> > wrote: > > Hi Vinujan, > > Yes, it is. The user needs to have an access token to invoke a subscribed > API. You can read more about token API in [1]. > > [1] - https://docs.wso2.com/display/AM210/Token+API > > Thank you! > > On Fri, Mar 31, 2017 at 3:58 PM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Hi pubudu! > > I have implemented login and exporting api functionality for the cli > prototype. Currently I am working on proposal. What is meant by "Key > generation" in proposal document ?, is it retrieving access token for > subscriber after subscribing for an api? > > best regards, > Vinujan.S > > On 6 March 2017 at 22:32, Vinujan Shangarapillai <vinujan...@cse.mrt.ac.lk > > wrote: > > Hi pubudu! > > Thank you for your information. I will contact here if there any issues. > > Reagards, > Vinujan.s > > On Mon, 6 Mar 2017, 10:38 a.m. Pubudu Gunatilaka, <pubu...@wso2.com> > wrote: > > Hi Vinujan, > > Thank you for your interest and you can call us by name. > > As described in the project description you need to develop a CLI tool for > API Manager. First of all, you can check WSO2 API Manager 2.1.0 and get > familiar with the product [1] and the concepts [2]. Additionally, you can > try out API export/import feature [3] and the API Manager 2.1.0 REST APIs > [4] to tryout the product. > > Currently, WSO2 API Manager team is working on Carbon 5(C5) based API > Manager implementation and you can find the relevant repos in [5] and [6]. > When you are developing the CLI, you should use the C5 REST APIs. API > Manager team has already added most important REST APIs and we are working > on adding new REST APIs based on the functionalities. > > If you need any help when trying the product, please do send an email to > the WSO2 developers' mailing list. You can also use this mailing list to > communicate further about the project. > > [1] - http://wso2.com/products/api-manager/ > [2] - https://docs.wso2.com/display/AM2
Re: [Dev] Introducing myself to mentors for GSOC Project CLI tool for WSO2 API Manager
Hi Pubudu, Yeah that is a good idea. It will give users more flexibility. In some cases users may forget some parameters ( 7 +- chunk memory property ) , this solution will help for those scenarios. I am thinking to implement both flag and query method. Thank you for the idea. Do i am thinking to implement security measures such as encryption or hashing when storing application configurations and credentials? What ia your opinion on this ?. Regards, Vinujan.S On Fri, 31 Mar 2017, 6:31 p.m. Pubudu Gunatilaka, <pubu...@wso2.com> wrote: > HI Vinujan, > > IMHO, we should have the capability to support the both scenarios. Maybe > the initial version we can stick with option 2. But it would be better if > we can have both scenarios. > > Also, we need to consider the environment when logging. Environments could > be Dev, QA, Prod, Cloud, etc. CLI tool should be able to work with > different environments. > > Thank you! > > On Fri, Mar 31, 2017 at 6:03 PM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Hi pubudu, > > What is expected/suitable for for this scenario > > 1. APIManager login -u admin -p admin > Or > 2. APIManager login > > username: > >password: > > Most command tool application uses flags instead of querying parameters > one by one. What is suitable for this application. > > Regards, > Vinujan.S > > On Fri, 31 Mar 2017, 4:59 p.m. Vinujan Shangarapillai, < > vinujan...@cse.mrt.ac.lk> wrote: > > Thank you for the reply. I am looking into it. > > On Fri, 31 Mar 2017, 4:25 p.m. Pubudu Gunatilaka, <pubu...@wso2.com> > wrote: > > Hi Vinujan, > > Yes, it is. The user needs to have an access token to invoke a subscribed > API. You can read more about token API in [1]. > > [1] - https://docs.wso2.com/display/AM210/Token+API > > Thank you! > > On Fri, Mar 31, 2017 at 3:58 PM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Hi pubudu! > > I have implemented login and exporting api functionality for the cli > prototype. Currently I am working on proposal. What is meant by "Key > generation" in proposal document ?, is it retrieving access token for > subscriber after subscribing for an api? > > best regards, > Vinujan.S > > On 6 March 2017 at 22:32, Vinujan Shangarapillai <vinujan...@cse.mrt.ac.lk > > wrote: > > Hi pubudu! > > Thank you for your information. I will contact here if there any issues. > > Reagards, > Vinujan.s > > On Mon, 6 Mar 2017, 10:38 a.m. Pubudu Gunatilaka, <pubu...@wso2.com> > wrote: > > Hi Vinujan, > > Thank you for your interest and you can call us by name. > > As described in the project description you need to develop a CLI tool for > API Manager. First of all, you can check WSO2 API Manager 2.1.0 and get > familiar with the product [1] and the concepts [2]. Additionally, you can > try out API export/import feature [3] and the API Manager 2.1.0 REST APIs > [4] to tryout the product. > > Currently, WSO2 API Manager team is working on Carbon 5(C5) based API > Manager implementation and you can find the relevant repos in [5] and [6]. > When you are developing the CLI, you should use the C5 REST APIs. API > Manager team has already added most important REST APIs and we are working > on adding new REST APIs based on the functionalities. > > If you need any help when trying the product, please do send an email to > the WSO2 developers' mailing list. You can also use this mailing list to > communicate further about the project. > > [1] - http://wso2.com/products/api-manager/ > [2] - https://docs.wso2.com/display/AM210/Key+Concepts > [3] - > https://docs.wso2.com/display/AM210/Migrating+the+APIs+to+a+Different+Environment > [4] - https://docs.wso2.com/display/AM210/WSO2+APIs > [5] - https://github.com/wso2/carbon-apimgt/tree/C5 > [6] - https://github.com/wso2/product-apim/tree/C5 > > Thank you! > > On Mon, Mar 6, 2017 at 12:24 AM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Dear sir! > > I am vinujan, currently studying in 4th year computer science and > engineering, University of Moratuwa. > > I am interested in developing command line tool for WSO2 API manager. I > have tried implementing login, exporting and importing api. Here > <https://github.com/vinujan59/APIManagerCLI> is the link for the > repository. further I want to clarify the requirements for this > application. > > regards, > Vinujan Shangarapillai > *Undergraduate* > Computer Science And Engineering > University of Moratuwa > m: 0771224344 > e: vinujan...@cse.mrt.ac.lk > <https://lk.linkedin.com/in/vinujan> > > > >
Re: [Dev] Introducing myself to mentors for GSOC Project CLI tool for WSO2 API Manager
Hi pubudu, What is expected/suitable for for this scenario 1. APIManager login -u admin -p admin Or 2. APIManager login > username: >password: Most command tool application uses flags instead of querying parameters one by one. What is suitable for this application. Regards, Vinujan.S On Fri, 31 Mar 2017, 4:59 p.m. Vinujan Shangarapillai, < vinujan...@cse.mrt.ac.lk> wrote: > Thank you for the reply. I am looking into it. > > On Fri, 31 Mar 2017, 4:25 p.m. Pubudu Gunatilaka, <pubu...@wso2.com> > wrote: > > Hi Vinujan, > > Yes, it is. The user needs to have an access token to invoke a subscribed > API. You can read more about token API in [1]. > > [1] - https://docs.wso2.com/display/AM210/Token+API > > Thank you! > > On Fri, Mar 31, 2017 at 3:58 PM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Hi pubudu! > > I have implemented login and exporting api functionality for the cli > prototype. Currently I am working on proposal. What is meant by "Key > generation" in proposal document ?, is it retrieving access token for > subscriber after subscribing for an api? > > best regards, > Vinujan.S > > On 6 March 2017 at 22:32, Vinujan Shangarapillai <vinujan...@cse.mrt.ac.lk > > wrote: > > Hi pubudu! > > Thank you for your information. I will contact here if there any issues. > > Reagards, > Vinujan.s > > On Mon, 6 Mar 2017, 10:38 a.m. Pubudu Gunatilaka, <pubu...@wso2.com> > wrote: > > Hi Vinujan, > > Thank you for your interest and you can call us by name. > > As described in the project description you need to develop a CLI tool for > API Manager. First of all, you can check WSO2 API Manager 2.1.0 and get > familiar with the product [1] and the concepts [2]. Additionally, you can > try out API export/import feature [3] and the API Manager 2.1.0 REST APIs > [4] to tryout the product. > > Currently, WSO2 API Manager team is working on Carbon 5(C5) based API > Manager implementation and you can find the relevant repos in [5] and [6]. > When you are developing the CLI, you should use the C5 REST APIs. API > Manager team has already added most important REST APIs and we are working > on adding new REST APIs based on the functionalities. > > If you need any help when trying the product, please do send an email to > the WSO2 developers' mailing list. You can also use this mailing list to > communicate further about the project. > > [1] - http://wso2.com/products/api-manager/ > [2] - https://docs.wso2.com/display/AM210/Key+Concepts > [3] - > https://docs.wso2.com/display/AM210/Migrating+the+APIs+to+a+Different+Environment > [4] - https://docs.wso2.com/display/AM210/WSO2+APIs > [5] - https://github.com/wso2/carbon-apimgt/tree/C5 > [6] - https://github.com/wso2/product-apim/tree/C5 > > Thank you! > > On Mon, Mar 6, 2017 at 12:24 AM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Dear sir! > > I am vinujan, currently studying in 4th year computer science and > engineering, University of Moratuwa. > > I am interested in developing command line tool for WSO2 API manager. I > have tried implementing login, exporting and importing api. Here > <https://github.com/vinujan59/APIManagerCLI> is the link for the > repository. further I want to clarify the requirements for this > application. > > regards, > Vinujan Shangarapillai > *Undergraduate* > Computer Science And Engineering > University of Moratuwa > m: 0771224344 > e: vinujan...@cse.mrt.ac.lk > <https://lk.linkedin.com/in/vinujan> > > > > > -- > *Pubudu Gunatilaka* > Committer and PMC Member - Apache Stratos > Software Engineer > WSO2, Inc.: http://wso2.com > mobile : +94774078049 <%2B94772207163> > > > > > -- > Vinujan Shangarapillai > *Undergraduate* > Computer Science And Engineering > University of Moratuwa > m: 0771224344 > e: vinujan...@cse.mrt.ac.lk > <https://www.facebook.com/vin.vinujan> <https://twitter.com/vinujan2959> ><https://lk.linkedin.com/in/vinujan> > > > > > -- > *Pubudu Gunatilaka* > Committer and PMC Member - Apache Stratos > Software Engineer > WSO2, Inc.: http://wso2.com > mobile : +94774078049 <%2B94772207163> > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Introducing myself to mentors for GSOC Project CLI tool for WSO2 API Manager
Thank you for the reply. I am looking into it. On Fri, 31 Mar 2017, 4:25 p.m. Pubudu Gunatilaka, <pubu...@wso2.com> wrote: > Hi Vinujan, > > Yes, it is. The user needs to have an access token to invoke a subscribed > API. You can read more about token API in [1]. > > [1] - https://docs.wso2.com/display/AM210/Token+API > > Thank you! > > On Fri, Mar 31, 2017 at 3:58 PM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Hi pubudu! > > I have implemented login and exporting api functionality for the cli > prototype. Currently I am working on proposal. What is meant by "Key > generation" in proposal document ?, is it retrieving access token for > subscriber after subscribing for an api? > > best regards, > Vinujan.S > > On 6 March 2017 at 22:32, Vinujan Shangarapillai <vinujan...@cse.mrt.ac.lk > > wrote: > > Hi pubudu! > > Thank you for your information. I will contact here if there any issues. > > Reagards, > Vinujan.s > > On Mon, 6 Mar 2017, 10:38 a.m. Pubudu Gunatilaka, <pubu...@wso2.com> > wrote: > > Hi Vinujan, > > Thank you for your interest and you can call us by name. > > As described in the project description you need to develop a CLI tool for > API Manager. First of all, you can check WSO2 API Manager 2.1.0 and get > familiar with the product [1] and the concepts [2]. Additionally, you can > try out API export/import feature [3] and the API Manager 2.1.0 REST APIs > [4] to tryout the product. > > Currently, WSO2 API Manager team is working on Carbon 5(C5) based API > Manager implementation and you can find the relevant repos in [5] and [6]. > When you are developing the CLI, you should use the C5 REST APIs. API > Manager team has already added most important REST APIs and we are working > on adding new REST APIs based on the functionalities. > > If you need any help when trying the product, please do send an email to > the WSO2 developers' mailing list. You can also use this mailing list to > communicate further about the project. > > [1] - http://wso2.com/products/api-manager/ > [2] - https://docs.wso2.com/display/AM210/Key+Concepts > [3] - > https://docs.wso2.com/display/AM210/Migrating+the+APIs+to+a+Different+Environment > [4] - https://docs.wso2.com/display/AM210/WSO2+APIs > [5] - https://github.com/wso2/carbon-apimgt/tree/C5 > [6] - https://github.com/wso2/product-apim/tree/C5 > > Thank you! > > On Mon, Mar 6, 2017 at 12:24 AM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Dear sir! > > I am vinujan, currently studying in 4th year computer science and > engineering, University of Moratuwa. > > I am interested in developing command line tool for WSO2 API manager. I > have tried implementing login, exporting and importing api. Here > <https://github.com/vinujan59/APIManagerCLI> is the link for the > repository. further I want to clarify the requirements for this > application. > > regards, > Vinujan Shangarapillai > *Undergraduate* > Computer Science And Engineering > University of Moratuwa > m: 0771224344 > e: vinujan...@cse.mrt.ac.lk > <https://lk.linkedin.com/in/vinujan> > > > > > -- > *Pubudu Gunatilaka* > Committer and PMC Member - Apache Stratos > Software Engineer > WSO2, Inc.: http://wso2.com > mobile : +94774078049 <%2B94772207163> > > > > > -- > Vinujan Shangarapillai > *Undergraduate* > Computer Science And Engineering > University of Moratuwa > m: 0771224344 > e: vinujan...@cse.mrt.ac.lk > <https://www.facebook.com/vin.vinujan> <https://twitter.com/vinujan2959> ><https://lk.linkedin.com/in/vinujan> > > > > > -- > *Pubudu Gunatilaka* > Committer and PMC Member - Apache Stratos > Software Engineer > WSO2, Inc.: http://wso2.com > mobile : +94774078049 <%2B94772207163> > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Introducing myself to mentors for GSOC Project CLI tool for WSO2 API Manager
Hi pubudu! I have implemented login and exporting api functionality for the cli prototype. Currently I am working on proposal. What is meant by "Key generation" in proposal document ?, is it retrieving access token for subscriber after subscribing for an api? best regards, Vinujan.S On 6 March 2017 at 22:32, Vinujan Shangarapillai <vinujan...@cse.mrt.ac.lk> wrote: > Hi pubudu! > > Thank you for your information. I will contact here if there any issues. > > Reagards, > Vinujan.s > > On Mon, 6 Mar 2017, 10:38 a.m. Pubudu Gunatilaka, <pubu...@wso2.com> > wrote: > >> Hi Vinujan, >> >> Thank you for your interest and you can call us by name. >> >> As described in the project description you need to develop a CLI tool >> for API Manager. First of all, you can check WSO2 API Manager 2.1.0 and get >> familiar with the product [1] and the concepts [2]. Additionally, you can >> try out API export/import feature [3] and the API Manager 2.1.0 REST APIs >> [4] to tryout the product. >> >> Currently, WSO2 API Manager team is working on Carbon 5(C5) based API >> Manager implementation and you can find the relevant repos in [5] and [6]. >> When you are developing the CLI, you should use the C5 REST APIs. API >> Manager team has already added most important REST APIs and we are working >> on adding new REST APIs based on the functionalities. >> >> If you need any help when trying the product, please do send an email to >> the WSO2 developers' mailing list. You can also use this mailing list to >> communicate further about the project. >> >> [1] - http://wso2.com/products/api-manager/ >> [2] - https://docs.wso2.com/display/AM210/Key+Concepts >> [3] - https://docs.wso2.com/display/AM210/Migrating+the+APIs+to+a+ >> Different+Environment >> [4] - https://docs.wso2.com/display/AM210/WSO2+APIs >> [5] - https://github.com/wso2/carbon-apimgt/tree/C5 >> [6] - https://github.com/wso2/product-apim/tree/C5 >> >> Thank you! >> >> On Mon, Mar 6, 2017 at 12:24 AM, Vinujan Shangarapillai < >> vinujan...@cse.mrt.ac.lk> wrote: >> >> Dear sir! >> >> I am vinujan, currently studying in 4th year computer science and >> engineering, University of Moratuwa. >> >> I am interested in developing command line tool for WSO2 API manager. I >> have tried implementing login, exporting and importing api. Here >> <https://github.com/vinujan59/APIManagerCLI> is the link for the >> repository. further I want to clarify the requirements for this >> application. >> >> regards, >> Vinujan Shangarapillai >> *Undergraduate* >> Computer Science And Engineering >> University of Moratuwa >> m: 0771224344 >> e: vinujan...@cse.mrt.ac.lk >> <https://lk.linkedin.com/in/vinujan> >> >> >> >> >> -- >> *Pubudu Gunatilaka* >> Committer and PMC Member - Apache Stratos >> Software Engineer >> WSO2, Inc.: http://wso2.com >> mobile : +94774078049 <%2B94772207163> >> >> -- Vinujan Shangarapillai *Undergraduate* Computer Science And Engineering University of Moratuwa m: 0771224344 e: vinujan...@cse.mrt.ac.lk <https://www.facebook.com/vin.vinujan> <https://twitter.com/vinujan2959> <https://lk.linkedin.com/in/vinujan> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Introducing myself to mentors for GSOC Project CLI tool for WSO2 API Manager
Hi pubudu! Thank you for your information. I will contact here if there any issues. Reagards, Vinujan.s On Mon, 6 Mar 2017, 10:38 a.m. Pubudu Gunatilaka, <pubu...@wso2.com> wrote: > Hi Vinujan, > > Thank you for your interest and you can call us by name. > > As described in the project description you need to develop a CLI tool for > API Manager. First of all, you can check WSO2 API Manager 2.1.0 and get > familiar with the product [1] and the concepts [2]. Additionally, you can > try out API export/import feature [3] and the API Manager 2.1.0 REST APIs > [4] to tryout the product. > > Currently, WSO2 API Manager team is working on Carbon 5(C5) based API > Manager implementation and you can find the relevant repos in [5] and [6]. > When you are developing the CLI, you should use the C5 REST APIs. API > Manager team has already added most important REST APIs and we are working > on adding new REST APIs based on the functionalities. > > If you need any help when trying the product, please do send an email to > the WSO2 developers' mailing list. You can also use this mailing list to > communicate further about the project. > > [1] - http://wso2.com/products/api-manager/ > [2] - https://docs.wso2.com/display/AM210/Key+Concepts > [3] - > https://docs.wso2.com/display/AM210/Migrating+the+APIs+to+a+Different+Environment > [4] - https://docs.wso2.com/display/AM210/WSO2+APIs > [5] - https://github.com/wso2/carbon-apimgt/tree/C5 > [6] - https://github.com/wso2/product-apim/tree/C5 > > Thank you! > > On Mon, Mar 6, 2017 at 12:24 AM, Vinujan Shangarapillai < > vinujan...@cse.mrt.ac.lk> wrote: > > Dear sir! > > I am vinujan, currently studying in 4th year computer science and > engineering, University of Moratuwa. > > I am interested in developing command line tool for WSO2 API manager. I > have tried implementing login, exporting and importing api. Here > <https://github.com/vinujan59/APIManagerCLI> is the link for the > repository. further I want to clarify the requirements for this > application. > > regards, > Vinujan Shangarapillai > *Undergraduate* > Computer Science And Engineering > University of Moratuwa > m: 0771224344 > e: vinujan...@cse.mrt.ac.lk > <https://lk.linkedin.com/in/vinujan> > > > > > -- > *Pubudu Gunatilaka* > Committer and PMC Member - Apache Stratos > Software Engineer > WSO2, Inc.: http://wso2.com > mobile : +94774078049 <%2B94772207163> > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev