Implement platform_ID for instruction_set
Problem
- The instruction set payload doesn't contain the platform_ID
- We want the platform_ID to be a required field
- We can't specify the platform_ID in the planning_configuration
Proposal
- Change the message_type to
platform_instruction_set
- The
platform_instruction_set message contains message_type + required platform_ID and required instruction_set
- Remove the
message_type field from the instruction_set schema
Result
- The
planning_configuration.instructions contains static instruction_sets to be added to a platform_instruction_set payload
- ORI have to create a
platform_instruction_set message with the platform_ID and one of the static instruction_sets defined in planning_configuration.instructions
- A payload without
platform_ID is invalid