Hi Janaka,

This is not only for WAR files and will be supported all the other
application types which are currently supported by AppFactory like Jaggery.

IMO how about doing the scenario you mentioned like this as
a separate feature.

1. User creates the application in normal way where selecting the
application type and Repo type. So that the application will be created in
normal manner
2. In the "Build and Repo" page (or any other good place)  we will
be providing an extra functionality to connect with an external repository
and fetch the source code from there.

Why I think like this is dealing with source code is not something that has
to be done while creating the application.

WDYT?




On Tue, Jan 7, 2014 at 10:41 AM, Janaka Ranabahu <jan...@wso2.com> wrote:

> Hi Manjula,
>
> While I completely agree that this feature is something different from
> what I've stated, I'm trying to understand the usability of this feature.
> From what I've gathered so far from this discussion is that, we do not
> allow code modifications, versions and build for these kinds of
> applications. So basically this feature is only there to deploy, test and
> govern a pre-built artifact. But then, we loose many powerful development
> features that are provided by AppFactory.
>
> With this feature, the source code management, versioning and build(which
> are three important features of AF) is happening out of AppFactory and they
> have to manage them separately. But instead, what we need to do is to
> promote AppFactory for developers so that developers would be attracted to
> it. IMO, having a feature to create applications from an existing repo is
> more important in that context.
>
> WDYT?
>
> On Mon, Jan 6, 2014 at 7:24 PM, Manjula Rathnayake <manju...@wso2.com>wrote:
>
>> Hi all,
>>
>>
>> On Mon, Jan 6, 2014 at 6:48 PM, Ashansa Perera <asha...@wso2.com> wrote:
>>
>>> As I feel creating an application pointing to an existing code base is
>>> different than allowing to upload an artifact and create an application,
>>> since this will not include any source code management. So we should
>>> consider those as two different use cases.
>>> IMO we can relate the use case that Janaka has mentioned to our main
>>> flow of application creation where we can provide the option of
>>>    - creating an application pointing to an existing source code ( so AF
>>> can clone that and create application)
>>>    - creating an application with default template
>>>
>>> +1, this feature is about uploading a war file and no source code is
>> involved.
>>
>
> Also, is this only about war files or do we support all the applications
> types of AF and are we going to support other app types like aar and car?
>
> Thanks,
> Janaka
>
> thank you.
>>
>>>
>>>
>>> On Mon, Jan 6, 2014 at 5:45 PM, Harsha Thirimanna <hars...@wso2.com>wrote:
>>>
>>>> Hi Janaka,
>>>>
>>>> +1 for that.
>>>>
>>>> There will some work to do this. Because
>>>>
>>>> 1. we should process the pom file of that external repository and
>>>> change artifactId, groupId to our one.
>>>> 2. we have to have credentials to access external repository.
>>>>
>>>>  thanks
>>>>
>>>>
>>>>
>>>> *Harsha Thirimanna*
>>>>
>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>>> * <http://www.apache.org/>*
>>>> * email: **hars...@wso2.com* <az...@wso2.com>* cell: +94 71 5186770*
>>>> * twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
>>>> *harshathirimann linked-in: **http:
>>>> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>>> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>>>>
>>>>  *Lean . Enterprise . Middleware*
>>>>
>>>>
>>>>
>>>> On Mon, Jan 6, 2014 at 5:28 PM, Janaka Ranabahu <jan...@wso2.com>wrote:
>>>>
>>>>> Hi Shamika,
>>>>>
>>>>>
>>>>> On Mon, Jan 6, 2014 at 4:43 PM, Shamika Ariyawansa 
>>>>> <sham...@wso2.com>wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> New feature that is going to be introduced to AppFactory is creating
>>>>>> a new application by uploading exiting binary file of an application. e.g
>>>>>> WAR
>>>>>>
>>>>>> *User Scenario*
>>>>>>
>>>>>> 1. User logs on to the system, goes to the application creation page.
>>>>>> 2. In there user provides basic information related to the
>>>>>> application, such as name, key, description then he/she would be able to
>>>>>> create the application by choosing one of the following options,
>>>>>>
>>>>>>  a. Create the application from the scratch by selecting the
>>>>>> repository type and application type which maps
>>>>>> with existing functionality. *OR*
>>>>>>  b. Create the application by uploading the binary file and
>>>>>> selecting the binary file type. By doing so the application will
>>>>>> be created as non build-able application.
>>>>>>
>>>>> Can we improve this so that a user can create an application pointing
>>>>> to a existing source code so that AF can clone that instead of the default
>>>>> template?
>>>>>
>>>>> Thanks,
>>>>>  Janaka
>>>>>
>>>>>>
>>>>>> 3. In "Repos and Builds" page user will be able to see the
>>>>>> uploaded application and he/she will be able to do following operations
>>>>>> from there,
>>>>>>   a. Delete the existing application.
>>>>>>   b. Upload new version of the same application. - Provides a way to
>>>>>> upload new binary file.
>>>>>>   c. Test the application by deploying to Dev cloud.
>>>>>>
>>>>>> Note that for applications created like this, source repository
>>>>>> paths, build options and not shown to the users.
>>>>>>
>>>>>> 4. From Life Cycle Management page user will be able to Promote and
>>>>>> Demote the application through different life cycles.
>>>>>>
>>>>>> *Solution*
>>>>>>
>>>>>> So far in AppFactory we maintain two logical types of application
>>>>>> flows. Buildable and non-Buildable. Buildabale applications
>>>>>> are mainly handled and deployed by the buildserver (Jenkins) whereas
>>>>>> non-Buildable are maintained and deployed by the AppFactory itself.
>>>>>> uploading existing application functionality will
>>>>>> be implemented considering Non-Buildable application flow as follows.
>>>>>>
>>>>>> [image: Inline image 2]
>>>>>>
>>>>>> Further App Creation, Build and Repos and other UIs will
>>>>>> be changed accordingly.
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> --
>>>>>> Shamika Ariyawansa
>>>>>> Senior Software Engineer
>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>
>>>>>> LK -  +94 7639629 Ext 5999
>>>>>> US - +1 408 754 7388 Ext 51732
>>>>>> Mob:+ 94 772929486
>>>>>>
>>>>>> *twitter: 
>>>>>> **https://twitter.com/Amila_Shamika*<https://twitter.com/Amila_Shamika>
>>>>>> * linked-in: *http://www.linkedin.com/pub/dir/Shamika/Ariyawansa
>>>>>>
>>>>>> *Lean . Enterprise . Middleware*
>>>>>>
>>>>>> _______________________________________________
>>>>>> Architecture mailing list
>>>>>> Architecture@wso2.org
>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Janaka Ranabahu*
>>>>> Senior Software Engineer; WSO2 Inc.; http://wso2.com
>>>>>
>>>>>
>>>>> * E-mail: jan...@wso2.com <http://wso2.com>**M: **+94 718370861
>>>>> <%2B94%20718370861>*
>>>>>
>>>>>
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Architecture mailing list
>>>>> Architecture@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Architecture mailing list
>>>> Architecture@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> Ashansa Perera
>>> Software Engineer
>>> WSO2, Inc
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> Architecture@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> Manjula Rathnayaka
>> Software Engineer
>> WSO2, Inc.
>> Mobile:+94 77 743 1987
>>
>> _______________________________________________
>> Architecture mailing list
>> Architecture@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> *Janaka Ranabahu*
> Senior Software Engineer; WSO2 Inc.; http://wso2.com
>
>
> * E-mail: jan...@wso2.com <http://wso2.com>**M: **+94 718370861
> <%2B94%20718370861>*
>
> Lean . Enterprise . Middleware
>



-- 
Shamika Ariyawansa
Senior Software Engineer
WSO2, Inc.; http://wso2.com

LK -  +94 7639629 Ext 5999
US - +1 408 754 7388 Ext 51732
Mob:+ 94 772929486

*twitter: 
**https://twitter.com/Amila_Shamika*<https://twitter.com/Amila_Shamika>
* linked-in: *http://www.linkedin.com/pub/dir/Shamika/Ariyawansa

*Lean . Enterprise . Middleware*



-- 
Shamika Ariyawansa
Senior Software Engineer
WSO2, Inc.; http://wso2.com

LK -  +94 7639629 Ext 5999
US - +1 408 754 7388 Ext 51732
Mob:+ 94 772929486

*twitter: 
**https://twitter.com/Amila_Shamika*<https://twitter.com/Amila_Shamika>
*linked-in: *http://www.linkedin.com/pub/dir/Shamika/Ariyawansa

*Lean . Enterprise . Middleware*
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to