Thanks for working on this, some comments:
NodelabelsInfo: (It should be NodeLabelInfo, right?)
- nodeLabelName: don't need call new String() since it will be always initialized, and I prefer to call it "name"
- nodeLabelExclusivity -> exclusivity
- Also getter
- Setters are not used by anybody, could be removed
- I'm not sure if you need add an empty constructure to make // JAXB needs this like other infos?
- Could add a constructor of NodeLabelsInfo receives NodeLabel which will be used by RMWebServices
- We may need to add a separated NodeLabelsInfo and it contains ArrayList of NodeLabelInfo
NodeToLabelsInfo -> NodeToLabelNames
addToClusterNodeLabels now receives Set as parameter, I'm not sure if it works, could you add test to verify add/get node labels? Now TestRMWebServicesNodeLabels will fail