Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-08-09 Thread Fathima Dilhasha
Hi Anuruddha, Yes +1 for that. I will change the current default implementation of CLI app as provided in [1] to a specific implementation for each command. So that every command will be invokable without going to an "appfac>" prompt. Please point out improveme

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-08-09 Thread Anuruddha Premalal
Hi Fathima, Good progress. As per the offline chat can we use cli.go to get-rid of "appfac>" prompt? That way users will have direct access to native terminal commands as well. This is important because of git command requirement. Thanks, Anuruddha. On Thu, Aug 6, 2015 at 11:18 AM, Fathima Dil

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-08-05 Thread Fathima Dilhasha
Hi, *Progress Update* I have implemented session storage for the CLI Tool. The git repository can be found at [1] A demo of the tool can be found at [2] [1] https://github.com

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-08-02 Thread Fathima Dilhasha
Hi, *Progress Update* I have implemented flag extraction and the CLI Tool support login, app creation, listing of app details, listing of versions. Following are the next plans. - Allowing cookie and username storage - Implement "Triggering a build" You can find the git repository at [1

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-07-05 Thread Fathima Dilhasha
Hi, *Progress Update* I have added API calls for listing applications and versions to the CLI tool. I have also added error handling of responses. I have to complete the flag extractor and continue to other commands. You can find the git repository at [1]

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-06-29 Thread Fathima Dilhasha
Hi, As per the discussion with Dimuthu, following are the suggested commands to be implemented as next step. 1. *Queue a build* Let user wait after a "triggerBuild" command and retrieve & show the build logs to from jenkins. Check for the "Current build id" and compare that to see if build succe

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-06-29 Thread Fathima Dilhasha
Hi, *Notes from Progress Discussion* 1. Use a flag extractor instead of prompting for parameters for each command. 2. Rather than requesting user for a complete username, request for the username and then the organization. e.g. Instead of expecting "dilhasha.wso2.com@dilhashan" prompt for user

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-06-25 Thread Fathima Dilhasha
Hi, *Progress Update* I have added API calls for login and triggering a build to the CLI tool. And I'm currently working on setting up the flags for the commands and presenting the results in a good format. You can find the git repository at [1] The execut

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-06-21 Thread Fathima Dilhasha
Hi Dimuthu & Anuruddha, *Notes from Progress Discussion* - Try out the other curl commands to Appfactory - Use the JSessionID to list app details in the impelmented REST call - Complete implementation of a basic call using the Rule based Engine I am planning to complete these tasks toda

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-06-17 Thread Dimuthu Leelarathne
Hi Fathima, Makes sense! Thanks for the explanation. thanks, dimuthu On Wed, Jun 17, 2015 at 7:28 PM, Fathima Dilhasha wrote: > Hi Dimuthu, > > I suggested a rule based engine over a switch case based approach taking > following things into consideration. > >- reduction in the time taken

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-06-17 Thread Fathima Dilhasha
Hi Dimuthu, I suggested a rule based engine over a switch case based approach taking following things into consideration. - reduction in the time taken to evaluate a command over a switch case based approach - allows for maximum reuse of the code - easier to extend for any new command

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-06-16 Thread Dimuthu Leelarathne
Hi Fathima, Why do you think of having a rule based engine? Could you attach the design to the mail please? thanks, dimuthu On Wed, Jun 17, 2015 at 10:40 AM, Fathima Dilhasha wrote: > Hi, > > I have started a Google doc [1] >

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-06-16 Thread Fathima Dilhasha
Hi, I have started a Google doc [1] for the documentation of the project. I will update implementation details as well. Please provide any suggestions on any other details to be included. [1] https:

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-06-14 Thread Fathima Dilhasha
Hi, *Notes from Progress Discussion* - Try using [1] for REST API access instead of go-curl [2] - Figure out requirements for a command based on [1] - Finish at le

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-06-11 Thread Fathima Dilhasha
Hi, *Progress Update* I have started the implementation of the CLI tool for WSO2 App Factory and I have been able to build an initial CLI tool (Showing help commands) compatible with Linux, windows and mac OS. As the next step I came up with a design for a rule based engine to evaluate and execu

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-03-23 Thread Fathima Dilhasha
Hi Anuruddha, Okay thank you. I will incorporate those basic features. Regards, Dilhasha Fathima Dilhasha Nazeer (M.N.F.Dilhasha) Undergraduate | Department of Computer Science and Engineering University of Moratuwa Sri Lanka On Mon, Mar 23, 2015 at 12:45 P

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-03-23 Thread Anuruddha Premalal
Hi Fathima, As we discussed in the hangout you can prepare the proposal with few basic operations as application creation/deletion, app life-cycle management, trigger builds, app deployment etc.. Once the CLI basics are in place adding an operation would be as easy as parsing arguments and callin

Re: [Dev] GSOC 2015 Proposal 6: AppFactory - Command Line Tool

2015-03-22 Thread Asela Damian Perera
Hi Manisha, Giving the organisation name with 'userName' worked, Thanks for the help given to resolve the issue. Regards, Asela Damian Perera On Mon, Mar 23, 2015 at 9:09 AM, Manisha Gayathri wrote: > Hi Asela, > > Please note that you need to have the following format fo

Re: [Dev] GSOC 2015 Proposal 6: AppFactory - Command Line Tool

2015-03-22 Thread Manisha Gayathri
Hi Asela, Please note that you need to have the following format for your username *emailaddress@organizationName* In my case, the username was *mani...@wso2.com@bizorg* Hope this resolves your concern. Thanks Manisha On Sun, Mar 22, 2015 at 11:03 PM, Asela Damian Perera < mail.damian.per...@gm

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-03-22 Thread Fathima Dilhasha
Hi Anuruddha, I need the set of operations that need to be supported by the CLI Tool to prepare the project proposal. Will you provide the set of operations? Or else I can suggest a set of operations and then it can be refined. Please, let me know what needs to be done. Thanks. Regards, Dilhasha

Re: [Dev] GSOC 2015 Proposal 6: AppFactory - Command Line Tool

2015-03-22 Thread Asela Damian Perera
Hi, I want to get a clarification on what is required in the project, is to have a java api client which is inturn invoked by cli scripts of each os type, or a cross platform cli itself doing the accessing of the api Looking forward for a reply for previous mails in this thread as we

Re: [Dev] GSOC 2015 Proposal 6: AppFactory - Command Line Tool

2015-03-20 Thread Asela Damian Perera
Hi, I used curl command using linux os, still it gives *false*, same problem exists Thank you, Asela Damian Perera. On Fri, Mar 20, 2015 at 9:59 PM, Asela Damian Perera < mail.damian.per...@gmail.com> wrote: > Hi, > > As a start I checked the App Factory API, and wrote a java > p

Re: [Dev] GSOC 2015 Proposal 6: AppFactory - Command Line Tool

2015-03-20 Thread Asela Damian Perera
Hi, As a start I checked the App Factory API, and wrote a java program to login and getApplications actions of App Factory API, it get's the success status 200 http response code, but doesn't login, I checked whether my email and password by login into the cloud, they are correct too. And

[Dev] GSOC 2015 Proposal 6: AppFactory - Command Line Tool

2015-03-20 Thread Asela Damian Perera
Hi, I am currently a second year undergraduate at Informatics Institute of Technology (IIT) SriLanka, I am a quick learner, ready to achieve challenges, familiar with java and batch top of first year sept intake last year. I am willing to complete the following proposal Proposal 6: AppFac

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-03-17 Thread Fathima Dilhasha
Hi Anuruddha, Thank you. I'll contact you, if I need any further clarifications and prepare a draft. Thanks. Regards, Dilhasha Fathima Dilhasha Nazeer (M.N.F.Dilhasha) Undergraduate | Department of Computer Science and Engineering University of Moratuwa Sri

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-03-17 Thread Anuruddha Premalal
Hi Fathima, Approach seems good. Please do a draft and share, will provide the needed feedback. Regards, Anuruddha. On Tue, Mar 17, 2015 at 10:17 PM, Fathima Dilhasha wrote: > Hi, > > I'm a Computer Science and Engineering undergraduate from University of > Moratuwa and I'm interested in contr

[Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-03-17 Thread Fathima Dilhasha
Hi, I'm a Computer Science and Engineering undergraduate from University of Moratuwa and I'm interested in contributing for proposal [6] . I am planning to address the fol