Back to bricks list
Introduction Version

ProtocolService

Functions

ADD_AGENT_TO_PROTOCOL_ID_BY_AGENT_VERSION_ID - @classmethod
ADD_COMMUNITY_AGENT_VERSION_TO_PROTOCOL_ID - @classmethod
ADD_CONNECTOR_TO_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
from_process_namestr
from_port_namestr
to_process_namestr
to_port_namestr
Return type:
ProtocolUpdate
ADD_CONNECTOR_TO_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
from_process_namestr
from_port_namestr
to_process_namestr
to_port_namestr
Return type:
ProtocolUpdate
ADD_CONNECTORS_TO_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
connectorsList
Return type:
ProtocolUpdate
ADD_DYNAMIC_INPUT_PORT_TO_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
io_spec_dtoIOSpecDTO
Return type:
ProtocolUpdate
ADD_DYNAMIC_OUTPUT_PORT_TO_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
io_spec_dtoIOSpecDTO
Return type:
ProtocolUpdate
ADD_EMPTY_PROTOCOL_TO_PROTOCOL - @classmethod
ADD_EMPTY_PROTOCOL_TO_PROTOCOL_ID - @classmethod
ADD_INPUT_RESOURCE_TO_PROCESS_INPUT - @classmethod

Add a source task to the protocol. Configure it with the resource. And add connector from source to process

Parameters:
NameTypeDefault valueDescription
protocol_idstr
resource_idstr
process_namestr
input_port_namestr
Return type:
ProtocolUpdate
ADD_INPUT_RESOURCE_TO_PROTOCOL_ID - @classmethod

Add a source task to the protocol. Configure it with the resource.

Parameters:
NameTypeDefault valueDescription
protocol_idstr
resource_idstr
Return type:
ProtocolUpdate
ADD_INTERFACE_TO_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
namestr
target_process_namestr
target_port_namestr
Return type:
ProtocolUpdate
ADD_INTERFACE_TO_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_model_idstr
target_process_namestr
target_port_namestr
Return type:
ProtocolUpdate
ADD_OUTERFACE_TO_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
namestr
source_process_namestr
source_port_namestr
Return type:
ProtocolUpdate
ADD_OUTERFACE_TO_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
source_process_namestr
source_port_namestr
Return type:
ProtocolUpdate
ADD_OUTPUT_TASK_TO_PROCESS_OUPUT - @classmethod

Add a output task to the protocol. And add connector from process to output

Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
output_port_namestr
Return type:
ProtocolUpdate
ADD_PROCESS_CONNECTED_TO_INPUT - @classmethod
ADD_PROCESS_CONNECTED_TO_OUTPUT - @classmethod
ADD_PROCESS_MODEL_TO_PROTOCOL - @classmethod
ADD_PROCESS_TO_PROTOCOL - @classmethod
ADD_PROCESS_TO_PROTOCOL_ID - @classmethod
ADD_SCENARIO_TEMPLATE_TO_PROTOCOL - @classmethod
ADD_VIEWER_TO_PROCESS_OUTPUT - @classmethod
CONFIGURE_PROCESS - @classmethod
CONFIGURE_PROCESS_MODEL - @classmethod
COPY_PROTOCOL - @classmethod
CREATE_COMMUNITY_AGENT - @classmethod
Parameters:
NameTypeDefault valueDescription
process_idstr
form_dataCommunityCreateAgentDTO
Return type:
CommunityAgentVersionCreateResDTO
CREATE_COMMUNITY_AGENT_VERSION - @classmethod
Parameters:
NameTypeDefault valueDescription
process_idstr
agent_idstr
Return type:
CommunityAgentVersionCreateResDTO
CREATE_EMPTY_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
instance_namestr
Return type:
ProtocolModel
CREATE_PROTOCOL_MODEL_FROM_GRAPH - @classmethod
Parameters:
NameTypeDefault valueDescription
graphProtocolGraphConfigDTO
Return type:
ProtocolModel
CREATE_PROTOCOL_MODEL_FROM_TEMPLATE - @classmethod
Parameters:
NameTypeDefault valueDescription
scenario_templateScenarioTemplate
Return type:
ProtocolModel
CREATE_PROTOCOL_MODEL_FROM_TYPE - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_typeType
instance_namestr
config_paramsDict
Return type:
ProtocolModel
CREATE_SCENARIO_TEMPLATE_FROM_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
namestr
descriptionRichTextDTO
Return type:
ScenarioTemplate
DELETE_CONNECTOR_OF_PROTOCOL - @classmethod
DELETE_DYNAMIC_INPUT_PORT_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
port_namestr
Return type:
ProtocolUpdate
DELETE_DYNAMIC_OUTPUT_PORT_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
port_namestr
Return type:
ProtocolUpdate
DELETE_INTERFACE_OF_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
interface_namestr
Return type:
ProtocolUpdate
DELETE_INTERFACE_OF_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
interface_namestr
Return type:
ProtocolUpdate
DELETE_OUTERFACE_OF_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
outerface_namestr
Return type:
ProtocolUpdate
DELETE_OUTERFACE_OF_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
outerface_namestr
Return type:
ProtocolUpdate
DELETE_PROCESS_OF_PROTOCOL - @classmethod
DELETE_PROCESS_OF_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_instance_namestr
Return type:
ProtocolUpdate
DUPLICATE_PROCESS_TO_PROTOCOL_ID - @classmethod
FORK_COMMUNITY_AGENT - @classmethod
Parameters:
NameTypeDefault valueDescription
process_idstr
form_dataCommunityCreateAgentDTO
agent_version_idstr
Return type:
CommunityAgentVersionCreateResDTO
GENERATE_SCENARIO_TEMPLATE - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
Return type:
ScenarioTemplate
GET_BY_ID_AND_CHECK - @classmethod
Parameters:
NameTypeDefault valueDescription
idstr
Return type:
ProtocolModel
GET_COMMUNITY_AGENT - @classmethod
Parameters:
NameTypeDefault valueDescription
agent_version_idstr
Return type:
CommunityAgentDTO
GET_COMMUNITY_AVAILABLE_AGENTS - @classmethod
GET_COMMUNITY_AVAILABLE_SPACE - @classmethod
RENAME_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_instance_namestr
custom_namestr
Return type:
ProcessModel
RESET_PROCESS_OF_PROTOCOL - @classmethod
RUN_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_instance_namestr
Return type:
ProtocolUpdate
SAVE_INTERFACE_LAYOUT - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
interface_namestr
layoutProcessLayoutDTO
SAVE_LAYOUT - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
layout_dictProtocolLayoutDTO
SAVE_OUTERFACE_LAYOUT - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
outerface_namestr
layoutProcessLayoutDTO
SAVE_PROCESS_LAYOUT - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_instance_namestr
layoutProcessLayoutDTO
SET_PROCESS_MODEL_CONFIG_VALUE - @classmethod
UPDATE_DYNAMIC_INPUT_PORT_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
port_namestr
io_specIOSpecDTO
Return type:
ProtocolUpdate
UPDATE_DYNAMIC_OUTPUT_PORT_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
port_namestr
io_specIOSpecDTO
Return type:
ProtocolUpdate
UPDATE_PROCESS_STYLE - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idAny
process_instance_namestr
styleTypingStyle
Return type:
ProcessModel