Hi all,

When we are writing puppet manifests, we have to make sure when a new AF
pack is updated to the puppet master, all the related jars are also
updated. Now that we have everything in one place (which is great), we can
go one step further.

For example lets have a look at the following jars.


set-up-build-server.sh:cp
$af_plugin_dir/org.wso2.carbon.appfactory.core_$AF_VERSION.jar
$BUILD_SERVER_AS_HOME/repository/components/dropins/org.wso2.carbon.appfactory.core-$AF_VERSION.jar

set-up-build-server.sh:cp
$af_plugin_dir/org.wso2.carbon.appfactory.common_$AF_VERSION.jar
$BUILD_SERVER_AS_HOME/repository/components/dropins/org.wso2.carbon.appfactory.common-$AF_VERSION.jar

set-up-build-server.sh:cp
$af_plugin_dir/org.wso2.carbon.appfactory.bam.integration_$AF_VERSION.jar
$BUILD_SERVER_AS_HOME/repository/components/dropins/org.wso2.carbon.appfactory.bam.integration-$AF_VERSION.jar


Above is just an example, in addition there are so many other artefacts
such as BPELs and etc ...  that needs to be copied to other servers. When a
new AF pack is uploaded to puppet master, shall we have another script that
updates the modules directory appropriately for each of the sever. For
example in the above case we can update the BuildServer's modules. Or in
the puppet world would it be a better approach to update each puppet class
to unpack and copy stuff from the AF pack.

tx,
dimuthu


On Fri, Dec 13, 2013 at 9:52 AM, Manjula Rathnayake <[email protected]>wrote:

> Hi all,
>
> Patches are not distributed through our product distributions.
>
> On Thu, Dec 12, 2013 at 9:22 PM, Harsha Thirimanna <[email protected]>wrote:
>
>> Hi danushka,
>> I think repository/resources is just use to hold resources it self by the
>> server. This is we are talking about resources that should copy to the out
>> side. I think better to put it in {home}/resource folder
>>
> +1, yes. it should be carbon_home/resources/
> Additionally, we will add required dbscripts to carbon_home/dbscripts/
>
>>
>> jenkins-groovy file also missed.
>>
> +1, I will add it also.
>
>>
>> do we provide some required patches in here that want to have in other
>> product to communicate with appfactory ?
>>
>> thanks
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * <http://www.apache.org/>*
>> * email: **[email protected]* <[email protected]>* 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 Thu, Dec 12, 2013 at 9:08 PM, Danushka Fernando <[email protected]>wrote:
>>
>>> Hi Manjula,
>>> Shouldn't it be repository/resources? Any way we need to pack them and
>>> +1 for that.
>>>
>>>
>>> *And I guess you have missed the epr files.*
>>>
>>>
>>> Thanks & Regards
>>> Danushka Fernando
>>> Software Engineer
>>> WSO2 inc. http://wso2.com/
>>> Mobile : +94716332729
>>>
>>>
>>> On Thu, Dec 12, 2013 at 7:07 PM, Gayan Dhanushka <[email protected]>wrote:
>>>
>>>> +1 for the new structure
>>>>
>>>> Gayan Dhanuska
>>>> Software Engineer
>>>> http://wso2.com/
>>>> Lean Enterprise Middleware
>>>>
>>>> Mobile
>>>> 071 666 2327
>>>>
>>>> Office
>>>> Tel   : 94 11 214 5345
>>>> Fax  : 94 11 214 5300
>>>>
>>>> Twitter : https://twitter.com/gayanlggd
>>>>
>>>>
>>>> On Thu, Dec 12, 2013 at 7:03 PM, Harsha Thirimanna <[email protected]>wrote:
>>>>
>>>>> +1 for this,
>>>>>
>>>>>
>>>>> *Harsha Thirimanna*
>>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>>>> * <http://www.apache.org/>*
>>>>> * email: **[email protected]* <[email protected]>* 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 Thu, Dec 12, 2013 at 6:53 PM, Manjula Rathnayake <[email protected]
>>>>> > wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> We need to distribute below resources with AppFactory distribution.
>>>>>> These resources are copied into different servers when deploying
>>>>>> AppFactory. This will increase the size of AppFactory distribution by 
>>>>>> 50MB
>>>>>> but we can find all required resources in one place for setting up
>>>>>> AppFactory. Puppet scripts and local setup can use these resources from
>>>>>> AppFactory distribution itself.
>>>>>>
>>>>>>  Carbon_HOME/resources
>>>>>> ├── archtypes
>>>>>> │   ├── af-archetype-1.1.0.jar
>>>>>> │   ├── bpel-archetype-1.0.0.jar
>>>>>> │   ├── dbs-archetype-1.1.0.jar
>>>>>> │   ├── esb-archetype-1.1.0.jar
>>>>>> │   ├── jaggery-archetype-1.1.0.jar
>>>>>> │   ├── jaxrs-archetype-1.1.0.jar
>>>>>> │   ├── jaxws-archetype-1.1.0.jar
>>>>>> │   ├── php-archetype-1.1.0.jar
>>>>>> │   └── webapp-archetype-1.1.0.jar
>>>>>> ├── bpels
>>>>>> │   ├── ApplicationCreation.zip
>>>>>> │   ├── CreateArtifact.zip
>>>>>> │   ├── CreateTenant.zip
>>>>>> │   ├── DeployArtifact.zip
>>>>>> │   └── GovernanceBPEL.zip
>>>>>> ├── dashboards
>>>>>> ├── extensions
>>>>>> │   ├── org.wso2.carbon.appfactory.ext-1.1.0.jar
>>>>>> │   ├── org.wso2.carbon.appfactory.jenkinsext-1.1.0.jar
>>>>>> │   └── org.wso2.carbon.appfactory.s2.listners-1.1.0.jar
>>>>>> ├── gadgets
>>>>>> ├── jaggery-apps
>>>>>> │   └── cloudmgt.zip
>>>>>> ├── lifecycles
>>>>>> │   └── configurations.xml
>>>>>> ├── plugins
>>>>>> │   ├── appfactory-authentication-plugin.jar
>>>>>> │   ├── appfactory.gitblit.plugin-0.0.1-jar-with-dependencies.jar
>>>>>> │   ├── appfactory-plugin.hpi
>>>>>> │   └── dynamic-slave.hpi
>>>>>> ├── rxts
>>>>>> │   ├── application.rxt
>>>>>> │   ├── appversions.rxt
>>>>>> │   ├── database.rxt
>>>>>> │   ├── databasetemplate.rxt
>>>>>> │   ├── databaseuser.rxt
>>>>>> │   └── eta.rxt
>>>>>> ├── schemas
>>>>>> │   └── rxt.xsd
>>>>>> ├── toolboxes
>>>>>> │   └── AF_Analytics.tbox
>>>>>> └── webapps
>>>>>>     └── issuetracker-1.0.0.war
>>>>>>
>>>>>> thank you.
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Manjula Rathnayaka
>>>>>> Software Engineer
>>>>>> WSO2, Inc.
>>>>>> Mobile:+94 77 743 1987
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
> thank you.
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dimuthu Leelarathne
Architect & Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: [email protected]
Mobile : 0773661935

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to