stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reka Thirunavukkarasu <r...@wso2.com>
Subject Application update for cartridgeMin/cartridgeMax and groupInstanceMin/groupInstanceMax
Date Thu, 30 Apr 2015 05:44:09 GMT
Hi Devs,

$subject[1] has been implemented for beta2. You can modify the existing
application with any of the above parameters change and update it to
stratos using the below REST API command.

curl -X PUT -H "Content-Type: application/json" -d "@application.json" -k
-v -u admin:admin https://localhost:9443/api/applications

Only the instances count will get updated with the existing application.
The application structure and aliases should be same as the existing
application. Otherwise it will get validated in the update. We simply
ignore any other update that has been done in the application.

With this improvement, you can increase/decrease any of those values. That
will get picked up by the monitors in the immediate next iteration.

Please update the documentation accordingly...

[1] https://issues.apache.org/jira/browse/STRATOS-1340

Thanks,
Reka

-- 
Reka Thirunavukkarasu
Senior Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Mime
View raw message