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
dc1125db
Commit
dc1125db
authored
2 years ago
by
Trishna Saeharaseelan
Browse files
Options
Download
Email Patches
Plain Diff
fix: lint
parent
1abd6a3b
dev
18-update-full-message-header-to-metadata
21-fix-git-raw-swagger-url
26-add-battery-endurance-for-platform-schema-in-planning-configuration
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
v0.1.0
Pipeline
#108253
passed with stages
in 1 minute and 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
formats/acknowledgement.py
formats/acknowledgement.py
+8
-2
tests/fixtures/schemas.py
tests/fixtures/schemas.py
+8
-3
No files found.
formats/acknowledgement.py
View file @
dc1125db
...
...
@@ -23,8 +23,14 @@ acknowledgement_schema = {
},
"approved"
:
{
"type"
:
"boolean"
,
"description"
:
"Human-in-the-loop approval. 1 - Plan approved; 0 - Plan Rejected"
,
"description"
:
"Human-in-the-loop approval."
+
"1 - Plan approved; 0 - Plan Rejected"
,
},
},
"required"
:
[
"message_type"
,
"autonomy_engine_plan_ID"
,
"platform_ID"
,
"approved"
],
"required"
:
[
"message_type"
,
"autonomy_engine_plan_ID"
,
"platform_ID"
,
"approved"
,
],
}
This diff is collapsed.
Click to expand it.
tests/fixtures/schemas.py
View file @
dc1125db
...
...
@@ -69,14 +69,19 @@ acknowledgement_schema = {
},
"approved"
:
{
"type"
:
"boolean"
,
"description"
:
"Human-in-the-loop approval. 1 - Plan approved; 0 - Plan Rejected"
,
"description"
:
"Human-in-the-loop approval. "
+
"1 - Plan approved; 0 - Plan Rejected"
,
},
},
"required"
:
[
"message_type"
,
"autonomy_engine_plan_ID"
,
"platform_ID"
,
"approved"
],
"required"
:
[
"message_type"
,
"autonomy_engine_plan_ID"
,
"platform_ID"
,
"approved"
,
],
}
action_schema
=
{
"type"
:
"object"
,
"properties"
:
{
...
...
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