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
60ff2f03
Verified
Commit
60ff2f03
authored
7 months ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
feat: validate uuid matches uuid pattern
+ remove non-hex characters from example message uuids
parent
4fd9f7f1
Changes
38
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
22 additions
and
18 deletions
+22
-18
examples/ecosub_adapter/survey_encoded.json
examples/ecosub_adapter/survey_encoded.json
+1
-1
examples/geojson/platform_status.json
examples/geojson/platform_status.json
+1
-1
examples/gui_adapter/emergency_mission_command.json
examples/gui_adapter/emergency_mission_command.json
+1
-1
examples/gui_adapter/emergency_mission_plan.json
examples/gui_adapter/emergency_mission_plan.json
+1
-1
examples/gui_adapter/planning_configuration.json
examples/gui_adapter/planning_configuration.json
+1
-1
examples/hydrosurv_adapter/acknowledgement.json
examples/hydrosurv_adapter/acknowledgement.json
+1
-1
examples/hydrosurv_adapter/alert.json
examples/hydrosurv_adapter/alert.json
+1
-1
examples/hydrosurv_adapter/mission_plan.json
examples/hydrosurv_adapter/mission_plan.json
+1
-1
examples/hydrosurv_adapter/platform_status.json
examples/hydrosurv_adapter/platform_status.json
+1
-1
examples/mas-dt/mission_plan.json
examples/mas-dt/mission_plan.json
+1
-1
examples/mas-dt/planning_configuration.json
examples/mas-dt/planning_configuration.json
+1
-1
examples/mas-dt/platform_status_branch.json
examples/mas-dt/platform_status_branch.json
+1
-1
examples/mas-dt/platform_status_commit.json
examples/mas-dt/platform_status_commit.json
+1
-1
examples/mas-dt/platform_status_semver.json
examples/mas-dt/platform_status_semver.json
+1
-1
formats/header.py
formats/header.py
+3
-1
project/soar/swagger.json
project/soar/swagger.json
+3
-1
tests/fixtures/schemas.py
tests/fixtures/schemas.py
+1
-1
tests/fixtures/swagger.json
tests/fixtures/swagger.json
+1
-1
No files found.
examples/ecosub_adapter/survey_encoded.json
View file @
60ff2f03
{
"header"
:
{
"message_ID"
:
"t1237003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"t1237003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2023-03-16T00:00:00Z"
,
"version"
:
2
,
"source"
:
"hermes.ecosub-2"
,
...
...
This diff is collapsed.
Click to expand it.
examples/geojson/platform_status.json
View file @
60ff2f03
{
"header"
:{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2024-09-06T00:00:00Z"
,
"version"
:
2
,
"source"
:
"ecosub_c2"
,
...
...
This diff is collapsed.
Click to expand it.
examples/gui_adapter/emergency_mission_command.json
View file @
60ff2f03
{
"header"
:
{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
2
,
"source"
:
"gui"
,
...
...
This diff is collapsed.
Click to expand it.
examples/gui_adapter/emergency_mission_plan.json
View file @
60ff2f03
{
"header"
:
{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
2
,
"source"
:
"gui"
,
...
...
This diff is collapsed.
Click to expand it.
examples/gui_adapter/planning_configuration.json
View file @
60ff2f03
{
"header"
:{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
2
,
"source"
:
"gui"
,
...
...
This diff is collapsed.
Click to expand it.
examples/hydrosurv_adapter/acknowledgement.json
View file @
60ff2f03
{
"header"
:{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
1
,
"source"
:
"hydrosurv_adapter"
,
...
...
This diff is collapsed.
Click to expand it.
examples/hydrosurv_adapter/alert.json
View file @
60ff2f03
{
"header"
:
{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
1
,
"source"
:
"hydrosurv_adapter"
,
...
...
This diff is collapsed.
Click to expand it.
examples/hydrosurv_adapter/mission_plan.json
View file @
60ff2f03
{
"header"
:{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
2
,
"source"
:
"autonomy_engine"
,
...
...
This diff is collapsed.
Click to expand it.
examples/hydrosurv_adapter/platform_status.json
View file @
60ff2f03
{
"header"
:
{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
2
,
"source"
:
"hydrosurv_adapter"
,
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/mission_plan.json
View file @
60ff2f03
{
"header"
:
{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
2
,
"source"
:
"autonomy_engine"
,
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/planning_configuration.json
View file @
60ff2f03
{
"header"
:{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
2
,
"source"
:
"noc-c2"
,
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/platform_status_branch.json
View file @
60ff2f03
{
"header"
:{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2024-09-05T00:00:00Z"
,
"version"
:
"dev"
,
"source"
:
"noc-sfmc"
,
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/platform_status_commit.json
View file @
60ff2f03
{
"header"
:{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2024-09-05T00:00:00Z"
,
"version"
:
"2bbede2412f9038c0b1ecd8c2965532ea97264a3"
,
"source"
:
"noc-sfmc"
,
...
...
This diff is collapsed.
Click to expand it.
examples/mas-dt/platform_status_semver.json
View file @
60ff2f03
{
"header"
:{
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"message_ID"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"timestamp"
:
"2024-09-05T00:00:00Z"
,
"version"
:
"v2.0.0-beta.1"
,
"source"
:
"noc-sfmc"
,
...
...
This diff is collapsed.
Click to expand it.
formats/header.py
View file @
60ff2f03
...
...
@@ -3,8 +3,10 @@ message_header = {
"properties"
:
{
"message_ID"
:
{
"type"
:
"string"
,
"format"
:
"uuid"
,
"pattern"
:
"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
,
"description"
:
"An identifier for the type of message received."
,
"example"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"example"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
},
"timestamp"
:
{
"type"
:
"string"
,
...
...
This diff is collapsed.
Click to expand it.
project/soar/swagger.json
View file @
60ff2f03
...
...
@@ -1449,7 +1449,9 @@
},
"message_ID"
:
{
"description"
:
"An identifier for the type of message received."
,
"example"
:
"b427003c-0000-11aa-a1eb-bvcdfghjgfdd"
,
"example"
:
"b427003c-0000-11aa-a1eb-b1cdf2342fdd"
,
"format"
:
"uuid"
,
"pattern"
:
"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
,
"type"
:
"string"
},
"source"
:
{
...
...
This diff is collapsed.
Click to expand it.
tests/fixtures/schemas.py
View file @
60ff2f03
...
...
@@ -7,7 +7,7 @@ message_header = {
"message_ID"
:
{
"type"
:
"string"
,
"description"
:
"An identifier for the type of message received."
,
"example"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"example"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
},
"timestamp"
:
{
"type"
:
"string"
,
...
...
This diff is collapsed.
Click to expand it.
tests/fixtures/swagger.json
View file @
60ff2f03
...
...
@@ -138,7 +138,7 @@
},
"message_ID"
:
{
"description"
:
"An identifier for the type of message received."
,
"example"
:
"b427003c-0000-11aa-a1eb-b
v
cdf
ghjg
fdd"
,
"example"
:
"b427003c-0000-11aa-a1eb-b
1
cdf
2342
fdd"
,
"type"
:
"string"
},
"source"
:
{
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
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