Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
backbone-message-format
Commits
d99ebbab
Commit
d99ebbab
authored
1 month ago
by
Trishna Saeharaseelan
Browse files
Options
Download
Email Patches
Plain Diff
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.
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
28 additions
and
0 deletions
+28
-0
examples/mas-dt/mission_plan.json
examples/mas-dt/mission_plan.json
+1
-0
examples/mas-dt/planning_configuration.json
examples/mas-dt/planning_configuration.json
+1
-0
examples/mas-dt/platform_instruction_set.json
examples/mas-dt/platform_instruction_set.json
+1
-0
examples/mas-dt/platform_status_branch.json
examples/mas-dt/platform_status_branch.json
+1
-0
examples/mas-dt/platform_status_commit.json
examples/mas-dt/platform_status_commit.json
+1
-0
examples/mas-dt/platform_status_semver.json
examples/mas-dt/platform_status_semver.json
+1
-0
examples/mas-dt/waypoints_geojson.json
examples/mas-dt/waypoints_geojson.json
+1
-0
examples/mas-dt/waypoints_props.json
examples/mas-dt/waypoints_props.json
+1
-0
formats/header.py
formats/header.py
+11
-0
project/soar/swagger.json
project/soar/swagger.json
+9
-0
No files found.
examples/mas-dt/mission_plan.json
Edit
View file @
d99ebbab
...
...
@@ -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
},
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/planning_configuration.json
Edit
View file @
d99ebbab
...
...
@@ -5,6 +5,7 @@
"version"
:
2
,
"source"
:
"noc-c2"
,
"destination"
:
""
,
"route"
:
[
"proj-x-relay"
,
"internal-relay"
],
"delivery_type"
:
"broadcast"
,
"encoded"
:
false
},
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/platform_instruction_set.json
Edit
View file @
d99ebbab
...
...
@@ -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
},
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/platform_status_branch.json
Edit
View file @
d99ebbab
...
...
@@ -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
},
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/platform_status_commit.json
Edit
View file @
d99ebbab
...
...
@@ -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
},
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/platform_status_semver.json
Edit
View file @
d99ebbab
...
...
@@ -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
},
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/waypoints_geojson.json
Edit
View file @
d99ebbab
...
...
@@ -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
},
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/waypoints_props.json
Edit
View file @
d99ebbab
...
...
@@ -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
},
...
...
This diff is collapsed.
Click to expand it.
formats/header.py
Edit
View file @
d99ebbab
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. "
...
...
This diff is collapsed.
Click to expand it.
project/soar/swagger.json
Edit
View file @
d99ebbab
...
...
@@ -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"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment