Yes we discussed this earlier. There are several things we need to refine
with cartridge groups. According to the current design if an application
needs to refer cartridge groups, it needs to define the same aliases in the
group reference.

Thanks

On Tue, Mar 3, 2015 at 9:07 AM, Rajkumar Rajaratnam <[email protected]>
wrote:

> Hi Devs,
>
> Using cartridge/group aliases in cartridge groups to define dependencies
> breaks reusability of the cartridge group. And the cartridge group becomes
> tightly coupled with an application, it can't be reused with another
> application unless aliases are same in both applications.
>
> {
>     "name": "esb-php-group",
>     "groupScalingEnabled": "true",
>     "cartridges": [
>         "esb",
>         "php"
>     ],
>     "dependencies": {
>         "startupOrders": [
>             "cartridge.my-esb,cartridge.my-php"
>         ],
>         "terminationBehaviour": "terminate-all"
>     }
> }
>
>
> What would be the solution here?
>
> Thanks.
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to