Hi Devs,

We are defining cartridge min max count in application definition.

{
    "applicationId": "single-cartridge-app",
    "alias": "single-cartridge-app",
    "multiTenant": false,
    "components": {
        "cartridges": [
            {
                "type": "php",

*"cartridgeMin": 1,                "cartridgeMax": 10,*
                "subscribableInfo": {
                    "alias": "my-php",
                    "autoscalingPolicy": "autoscaling-policy-1",
                    "deploymentPolicy": "deployment-policy-1",
                    "artifactRepository": {
                        "privateRepo": false,
                        "repoUrl": "
https://github.com/imesh/stratos-php-applications.git";,
                        "repoUsername": "",
                        "repoPassword": ""
                    }
                }
            }
        ]
    }
}

In 4.0.0, we used to define these in cartridge definition, in IaaS provider
section. We have now removed it from cartridge bean classes. However I can
see that samples still have this attribute. I will remove it.

Thanks.

-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Reply via email to