Github user Vishanth commented on a diff in the pull request:
https://github.com/apache/stratos/pull/277#discussion_r28768423
--- Diff:
components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java
---
@@ -191,52 +128,56 @@ public static StringBuilder getTextPayload (String
appId, String groupName, Stri
return payloadBuilder;
}
- public static PayloadData createPayload(String appId, String
groupName, CartridgeInfo cartridgeInfo, String subscriptionKey, int tenantId,
String clusterId,
+ public static PayloadData createPayload(String appId, String
groupName, Cartridge cartridge, String subscriptionKey, int tenantId, String
clusterId,
--- End diff --
Yes indeed, we already have a bean class for these parameters and it is
PayloadData. Since createPayload is the method that executes this logic I don't
think it would be appropriate to introduce another bean class in this scenario.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---