Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
f-interop-contributors
utils
Commits
f4a8caad
Commit
f4a8caad
authored
Nov 09, 2017
by
Rémy Léone
Browse files
Adding messages for orchestrator
parent
ab3cd274
Changes
1
Hide whitespace changes
Inline
Side-by-side
messages.py
View file @
f4a8caad
...
...
@@ -276,6 +276,193 @@ class MsgOrchestratorVersionReq(Message):
}
class
MsgOrchestratorUsersList
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for returning user list of SO
"""
routing_key
=
"control.orchestrator.users.list.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.users.list.request"
}
class
MsgOrchestratorUserAdd
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for adding a user to SO
"""
routing_key
=
"control.orchestrator.users.add.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.users.add.request"
}
class
MsgOrchestratorUserDelete
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for deleting a user from SO
"""
routing_key
=
"control.orchestrator.users.delete.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.users.delete.request"
}
class
MsgOrchestratorUserGet
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for getting a user from SO
"""
routing_key
=
"control.orchestrator.users.get.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.users.get.request"
}
class
MsgOrchestratorSessionsList
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for listing sessions from SO
"""
routing_key
=
"control.orchestrator.sessions.list.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.sessions.list.request"
}
class
MsgOrchestratorSessionsGet
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for getting a session from SO
"""
routing_key
=
"control.orchestrator.sessions.get.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.sessions.get.request"
}
class
MsgOrchestratorSessionsAdd
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for adding a session to SO
"""
routing_key
=
"control.orchestrator.sessions.add.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.sessions.add.request"
}
class
MsgOrchestratorSessionsDelete
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for deleting a session to SO
"""
routing_key
=
"control.orchestrator.sessions.delete.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.sessions.delete.request"
}
class
MsgOrchestratorSessionsUpdate
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for updating a session from SO
"""
routing_key
=
"control.orchestrator.sessions.update.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.sessions.update.request"
}
class
MsgOrchestratorTestsGet
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for getting tests from SO
"""
routing_key
=
"control.orchestrator.tests.get.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.tests.get.request"
}
class
MsgOrchestratorTestsGetContributorName
(
Message
):
"""
Requirements: ...
Type: Event
Pub/Sub: UI -> SO
Description: Message for getting tests from SO with contributor and name
"""
routing_key
=
"control.orchestrator.tests.get_contributor_name.service"
_msg_data_template
=
{
"_type"
:
"orchestrator.tests.get_contributor_name.request"
}
# # # # # # UI API messages # # # # # # # #
class
MsgUiRequestTextInput
(
Message
):
...
...
@@ -298,6 +485,7 @@ class MsgUiRequestTextInput(Message):
]
}
# # # # # # AGENT MESSAGES # # # # # #
...
...
@@ -1796,7 +1984,7 @@ class MsgDissectionAutoDissect(Message):
Type: Event
Pub/Sub: Testing Tool -> GUI
Description: Used to indicate to the GUI the dissection of the exchanged packets.
- GUI MUST display this info during execution:
- interop session
...
...
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