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
667eba15
Commit
667eba15
authored
1 year ago
by
Trishna Saeharaseelan
Browse files
Options
Download
Email Patches
Plain Diff
refactor(descriptions): all 'True' to 'true' and 'False' to 'false'
parent
106caf47
dev
41-add-optional-operating_area-as-a-wider-zone-outside-region_of_interest
42-add-event-details-and-status-to-acknowledgement-schema
66-tag-current-dev-as-version-1
76-should-depth-and-altitude-be-coordinates
80-add-informational-type-primitive
87-remove-comment-for-platform-status-state
87-remove-todo-comment-from-platform-state
action-refactor-test
ci-js-test
master
missionmonitor
v2.0.0
v2.0.0-beta.11
v2.0.0-beta.10
v2.0.0-beta.9
v2.0.0-beta.8
v2.0.0-beta.7
v2.0.0-beta.6
v2.0.0-beta.5
v2.0.0-beta.4
v2.0.0-beta.3
v2.0.0-beta.2
v2.0.0-beta.1
v1.0.0
v0.2.0
2 merge requests
!30
Resolve "Release v0.2"
,
!21
feat: add emergency flag to mission plan schema
Pipeline
#115172
passed with stages
in 52 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
17 deletions
+17
-17
formats/__init__.py
formats/__init__.py
+1
-1
formats/encoded.py
formats/encoded.py
+2
-2
formats/mission_plan.py
formats/mission_plan.py
+1
-1
formats/platform_status.py
formats/platform_status.py
+1
-1
project/soar/swagger.json
project/soar/swagger.json
+6
-6
tests/fixtures/schemas.py
tests/fixtures/schemas.py
+3
-3
tests/fixtures/swagger.json
tests/fixtures/swagger.json
+3
-3
No files found.
formats/__init__.py
View file @
667eba15
...
...
@@ -44,7 +44,7 @@ message_header = {
"encoded"
:
{
"type"
:
"boolean"
,
"description"
:
"Indicate that message raw (encoded) or decoded. "
+
"Options: encoded=
T
rue, decoded=
F
alse"
,
+
"Options: encoded=
t
rue, decoded=
f
alse"
,
"example"
:
False
,
},
"delivery_type"
:
{
...
...
This diff is collapsed.
Click to expand it.
formats/encoded.py
View file @
667eba15
...
...
@@ -32,8 +32,8 @@ encoded_schema = {
"is_binary"
:
{
"type"
:
"boolean"
,
"description"
:
(
"
T
rue if the data field contains binary format data encoded as base64."
+
"
F
alse if the data field contains ascii content such as NMEA."
"
t
rue if the data field contains binary format data encoded as base64."
+
"
f
alse if the data field contains ascii content such as NMEA."
),
"example"
:
True
,
},
...
...
This diff is collapsed.
Click to expand it.
formats/mission_plan.py
View file @
667eba15
...
...
@@ -91,7 +91,7 @@ mission_plan_schema = {
"emergency"
:
{
"type"
:
"boolean"
,
"description"
:
"To indicate if this is an emergency. "
+
"
T
rue = emergency and
F
alse = no emergency"
,
+
"
t
rue = emergency and
f
alse = no emergency"
,
"default"
:
False
,
"example"
:
False
,
},
...
...
This diff is collapsed.
Click to expand it.
formats/platform_status.py
View file @
667eba15
...
...
@@ -14,7 +14,7 @@ sensor_schema = {
},
"sensor_on"
:
{
"type"
:
"boolean"
,
"description"
:
"Sensor switched on (
T
rue) or off (
F
alse)"
,
"description"
:
"Sensor switched on (
t
rue) or off (
f
alse)"
,
"example"
:
True
,
},
"additional_data"
:
{
...
...
This diff is collapsed.
Click to expand it.
project/soar/swagger.json
View file @
667eba15
...
...
@@ -71,7 +71,7 @@
"type"
:
"string"
},
"encoded"
:{
"description"
:
"Indicate that message raw (encoded) or decoded. Options: encoded=
T
rue, decoded=
F
alse"
,
"description"
:
"Indicate that message raw (encoded) or decoded. Options: encoded=
t
rue, decoded=
f
alse"
,
"example"
:
false
,
"type"
:
"boolean"
},
...
...
@@ -117,7 +117,7 @@
},
"emergency"
:
{
"default"
:
false
,
"description"
:
"To indicate if this is an emergency.
T
rue = emergency and
F
alse = no emergency"
,
"description"
:
"To indicate if this is an emergency.
t
rue = emergency and
f
alse = no emergency"
,
"example"
:
false
,
"type"
:
"boolean"
},
...
...
@@ -212,7 +212,7 @@
"type"
:
"string"
},
"is_binary"
:{
"description"
:
"
T
rue if the data field contains binary format data encoded as base64.
F
alse if the data field contains ascii content such as NMEA."
,
"description"
:
"
t
rue if the data field contains binary format data encoded as base64.
f
alse if the data field contains ascii content such as NMEA."
,
"example"
:
true
,
"type"
:
"boolean"
},
...
...
@@ -313,7 +313,7 @@
"type"
:
"string"
},
"is_binary"
:{
"description"
:
"
T
rue if the data field contains binary format data encoded as base64.
F
alse if the data field contains ascii content such as NMEA."
,
"description"
:
"
t
rue if the data field contains binary format data encoded as base64.
f
alse if the data field contains ascii content such as NMEA."
,
"example"
:
true
,
"type"
:
"boolean"
},
...
...
@@ -716,7 +716,7 @@
"type"
:
"object"
},
"sensor_on"
:{
"description"
:
"Sensor switched on (
T
rue) or off (
F
alse)"
,
"description"
:
"Sensor switched on (
t
rue) or off (
f
alse)"
,
"example"
:
true
,
"type"
:
"boolean"
},
...
...
@@ -795,7 +795,7 @@
"type"
:
"string"
},
"is_binary"
:{
"description"
:
"
T
rue if the data field contains binary format data encoded as base64.
F
alse if the data field contains ascii content such as NMEA."
,
"description"
:
"
t
rue if the data field contains binary format data encoded as base64.
f
alse if the data field contains ascii content such as NMEA."
,
"example"
:
true
,
"type"
:
"boolean"
},
...
...
This diff is collapsed.
Click to expand it.
tests/fixtures/schemas.py
View file @
667eba15
...
...
@@ -35,7 +35,7 @@ message_header = {
"encoded"
:
{
"type"
:
"boolean"
,
"description"
:
"Indicate that message raw (encoded) or decoded. "
+
"Options: encoded=
T
rue, decoded=
F
alse"
,
+
"Options: encoded=
t
rue, decoded=
f
alse"
,
"example"
:
False
,
},
"delivery_type"
:
{
...
...
@@ -168,7 +168,7 @@ mission_plan_schema = {
"emergency"
:
{
"default"
:
False
,
"description"
:
"To indicate if this is an emergency. "
+
"
T
rue = emergency and
F
alse = no emergency"
,
+
"
t
rue = emergency and
f
alse = no emergency"
,
"example"
:
False
,
"type"
:
"boolean"
,
},
...
...
@@ -437,7 +437,7 @@ sensor_schema = {
},
"sensor_on"
:
{
"type"
:
"boolean"
,
"description"
:
"Sensor switched on (
T
rue) or off (
F
alse)"
,
"description"
:
"Sensor switched on (
t
rue) or off (
f
alse)"
,
"example"
:
True
,
},
"additional_data"
:
{
...
...
This diff is collapsed.
Click to expand it.
tests/fixtures/swagger.json
View file @
667eba15
...
...
@@ -69,7 +69,7 @@
"type"
:
"string"
},
"encoded"
:
{
"description"
:
"Indicate that message raw (encoded) or decoded. Options: encoded=
T
rue, decoded=
F
alse"
,
"description"
:
"Indicate that message raw (encoded) or decoded. Options: encoded=
t
rue, decoded=
f
alse"
,
"example"
:
false
,
"type"
:
"boolean"
},
...
...
@@ -112,7 +112,7 @@
},
"emergency"
:
{
"default"
:
false
,
"description"
:
"To indicate if this is an emergency.
T
rue = emergency and
F
alse = no emergency"
,
"description"
:
"To indicate if this is an emergency.
t
rue = emergency and
f
alse = no emergency"
,
"example"
:
false
,
"type"
:
"boolean"
},
...
...
@@ -592,7 +592,7 @@
}
},
"sensor_on"
:
{
"description"
:
"Sensor switched on (
T
rue) or off (
F
alse)"
,
"description"
:
"Sensor switched on (
t
rue) or off (
f
alse)"
,
"example"
:
true
,
"type"
:
"boolean"
},
...
...
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