Add platform attribute to cartridge serialization and fixed tests
Merge pull request #5222 from abhgupta/abhgupta-scheduler

Merged by openshift-bot