Commit d99ebbab authored by Trishna Saeharaseelan's avatar Trishna Saeharaseelan
Browse files

feat(header): add route to header

parent 75a433b1
This commit is part of merge request !58. Comments created here will be created in the context of that merge request.
......@@ -5,6 +5,7 @@
"version": 2,
"source": "autonomy_engine",
"destination": "soar.noc.autosub.alr-52.to_platform.mission_plan",
"route": ["proj-x-relay", "internal-relay"],
"delivery_type": "publish",
"encoded": false
},
......
......@@ -5,6 +5,7 @@
"version": 2,
"source": "noc-c2",
"destination": "",
"route": ["proj-x-relay", "internal-relay"],
"delivery_type": "broadcast",
"encoded": false
},
......
......@@ -5,6 +5,7 @@
"version": 1,
"source": "ori",
"destination": "mas-dt.noc.slocum.unit_111.to_platform.platform_instruction_set",
"route": ["proj-x-relay", "internal-relay"],
"delivery_type": "publish",
"encoded": false
},
......
......@@ -5,6 +5,7 @@
"version": "dev",
"source": "noc-sfmc",
"destination": "mas-dt.noc.slocum.unit_xxx.from_platform.platform_status",
"route": ["proj-x-relay", "internal-relay"],
"delivery_type": "publish",
"encoded": false
},
......
......@@ -5,6 +5,7 @@
"version": "2bbede2412f9038c0b1ecd8c2965532ea97264a3",
"source": "noc-sfmc",
"destination": "mas-dt.noc.slocum.unit_xxx.from_platform.platform_status",
"route": ["mas-dt-relay", "internal-relay"],
"delivery_type": "publish",
"encoded": false
},
......
......@@ -5,6 +5,7 @@
"version": "v2.0.0-beta.9",
"source": "noc-sfmc",
"destination": "mas-dt.noc.slocum.unit_xxx.from_platform.platform_status",
"route": ["proj-x-relay", "internal-relay"],
"delivery_type": "publish",
"encoded": false
},
......
......@@ -5,6 +5,7 @@
"version": "v2.0.0-beta.1",
"source": "noc-sfmc",
"destination": "mas-dt.noc.slocum.unit_xxx.from_platform.waypoints",
"route": ["proj-x-relay", "internal-relay"],
"delivery_type": "publish",
"encoded": false
},
......
......@@ -5,6 +5,7 @@
"version": "v2.0.0-beta.1",
"source": "noc-sfmc",
"destination": "mas-dt.noc.slocum.unit_xxx.from_platform.waypoints",
"route": ["proj-x-relay", "internal-relay"],
"delivery_type": "publish",
"encoded": false
},
......
route_clients = {
"type": "string",
"description": "Client-ID",
"example": "proj-x-relay",
}
message_header = {
"type": "object",
"properties": {
......@@ -25,6 +31,11 @@ message_header = {
+ " of this message",
"example": "ah1",
},
"route": {
"type": "array",
"items": route_clients,
"description": "Client-IDs of adapter between forwarding the message between the source adapter and destination adapter",
},
"encoded": {
"type": "boolean",
"description": "Indicate that message raw (encoded) or decoded. "
......
......@@ -1502,6 +1502,15 @@
"pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
"type": "string"
},
"route": {
"description": "Client-IDs of adapter between forwarding the message between the source adapter and destination adapter",
"items": {
"description": "Client-ID",
"example": "proj-x-relay",
"type": "string"
},
"type": "array"
},
"source": {
"description": "The sender; Where is this message from",
"example": "autonomy_engine",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment