You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Imesh Gunaratne <im...@apache.org> on 2015/02/21 13:45:49 UTC

[Discuss] Do we need components attribute in Application definition?

Hi Devs,

Do we need $subject? IMO this attribute is redundant. Shall we remove it
and move all the attributes under components to Application?

*Current Application Definition:*

{
    "applicationId": "wordpress-extended",
    "alias": "wordpress",
    "components": {
        "groups": [
            ...
        ],
        "cartridges" : [
            ...
        ],
        "dependencies": {
           ...
        }
    }
}

*Proposed Application Definition*

{
    "applicationId": "wordpress-extended",
    "alias": "wordpress",
    "groups": [
        ...
    ],
    "cartridges" : [
        ...
    ],
    "dependencies": {
        ...
    }
}

Thanks

-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos