GutoVeronezi commented on pull request #5909: URL: https://github.com/apache/cloudstack/pull/5909#issuecomment-1077899471
@rohityadavcloud, the idea behind the use of activation rules is to allow operators to decide when a tariff should be applied and customize the values according to their business requirements. JavaScript (JS) was the best option we found to create and process them, due to its simplicity (when compared with other languages, like Python, C, C++, and Java) and people's understanding of JSON. The whole design of the feature was done considering that some users/operators could not use it; therefore, the activation rules are not mandatory and the previous behavior is kept. These changes are an enrichment of the quota plugin and have backward compatibility; users can decide to use it or not. The idea came from some use cases that we have, indeed, however it was designed and developed to address generic needs. Furthermore, before proposing anything, we looked at OpenStack to see how it was handling rating/billing; we noticed that they use rules to decide when one tariff should be applied, and based on those ideas we extended the quota plugin in ACS to make it even more flexible and dynamic than OpenStack. Regarding opening a thread on users@, the change is a new feature/improvement (allowing users to set activation rules to tariffs) and has backward compatibility. Therefore, I do not see the necessity in this case. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
