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
36a44fff
Commit
36a44fff
authored
2 years ago
by
Trishna Saeharaseelan
Browse files
Options
Download
Email Patches
Plain Diff
refactor: examples and platform_ID type to string
parent
316a1b7a
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
formats/platform_status.py
formats/platform_status.py
+3
-3
project/soar/swagger.json
project/soar/swagger.json
+11
-11
No files found.
formats/platform_status.py
View file @
36a44fff
...
@@ -33,9 +33,9 @@ platform_status_message_schema = {
...
@@ -33,9 +33,9 @@ platform_status_message_schema = {
"example"
:
"platform_status"
,
"example"
:
"platform_status"
,
},
},
"platform_ID"
:
{
"platform_ID"
:
{
"type"
:
"
integer
"
,
"type"
:
"
string
"
,
"description"
:
"
I
dentifier for platform"
,
"description"
:
"
Unique i
dentifier for
this
platform"
,
"example"
:
1
,
"example"
:
"reav-x-1"
,
},
},
"status_source"
:
{
"status_source"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
...
...
This diff is collapsed.
Click to expand it.
project/soar/swagger.json
View file @
36a44fff
...
@@ -174,8 +174,8 @@
...
@@ -174,8 +174,8 @@
},
},
"platform_ID"
:
{
"platform_ID"
:
{
"description"
:
"Unique identifier for this platform"
,
"description"
:
"Unique identifier for this platform"
,
"example"
:
1
,
"example"
:
"reav-x-1"
,
"type"
:
"
integer
"
"type"
:
"
string
"
}
}
},
},
"required"
:
[
"required"
:
[
...
@@ -200,9 +200,9 @@
...
@@ -200,9 +200,9 @@
"type"
:
"string"
"type"
:
"string"
},
},
"platform_ID"
:
{
"platform_ID"
:
{
"description"
:
"
ID of plat
for
m
t
o sending observations
"
,
"description"
:
"
Unique identifier
for t
his platform
"
,
"example"
:
2
,
"example"
:
"reav-x-1"
,
"type"
:
"
integer
"
"type"
:
"
string
"
},
},
"points_of_interest"
:
{
"points_of_interest"
:
{
"description"
:
"Points from features of interest identified by platform if any found."
,
"description"
:
"Points from features of interest identified by platform if any found."
,
...
@@ -408,9 +408,9 @@
...
@@ -408,9 +408,9 @@
"type"
:
"string"
"type"
:
"string"
},
},
"platform_ID"
:
{
"platform_ID"
:
{
"description"
:
"
I
dentifier for platform"
,
"description"
:
"
Unique i
dentifier for
this
platform"
,
"example"
:
23
,
"example"
:
"reav-x-1"
,
"type"
:
"
integer
"
"type"
:
"
string
"
},
},
"serial"
:
{
"serial"
:
{
"description"
:
"platform serial number"
,
"description"
:
"platform serial number"
,
...
@@ -581,9 +581,9 @@
...
@@ -581,9 +581,9 @@
"type"
:
"integer"
"type"
:
"integer"
},
},
"platform_ID"
:
{
"platform_ID"
:
{
"description"
:
"
I
dentifier for platform"
,
"description"
:
"
Unique i
dentifier for
this
platform"
,
"example"
:
1
,
"example"
:
"reav-x-1"
,
"type"
:
"
integer
"
"type"
:
"
string
"
},
},
"platform_state"
:
{
"platform_state"
:
{
"description"
:
"Current state executed by platform. E.g. STOP, IDLE, ABORT."
,
"description"
:
"Current state executed by platform. E.g. STOP, IDLE, ABORT."
,
...
...
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