Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Sprint #3 9/9 - 10/1, Sprint #4 10/2 - 10/16
Description
currently setting constraint is doing through the following api:
1) constraint builder
builder.addConstraintAttribute(key1, value1).addConstraintAttribute(key2, value2)....
2) add constraint to cluster
admin.addConstraint(clusterName, constraintType, constraintId, constraint)
will be better to have:
1) builder(id).forMsgType(msgType).forInstance(instanceName).setConstraint(contraintValue)
2) add constraint to cluster
admin.addMsgConstraint(clusterName, constraint)