@camunda/e2e-test-suite 0.0.453 → 0.0.455
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/c8_versions.json +17 -0
- package/dist/tests/SM-8.10/smoke-tests.spec.js +2 -1
- package/package.json +8 -3
- package/playwright.config.ts +382 -0
- package/resources/Basic_Auth_REST_Connector.bpmn +62 -0
- package/resources/Camunda_Simple_User_Task_1.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_2.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_3.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_4.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_5.bpmn +41 -0
- package/resources/Candidate_User_Process_Three_Tasks.bpmn +116 -0
- package/resources/Candidate_User_Process_Two_Tasks.bpmn +91 -0
- package/resources/Conditional_Events_All.bpmn +111 -0
- package/resources/Connectors Document Handling.bpmn +298 -0
- package/resources/ConnectorsBasicTest.bpmn +2292 -0
- package/resources/Intermediate_Event_Webhook_Connector_No_Auth_Process.bpmn +60 -0
- package/resources/Job_Worker_Process.bpmn +38 -0
- package/resources/New Form.form +24 -0
- package/resources/REST_Connector_Bearer_Auth_Process.bpmn +53 -0
- package/resources/REST_Connector_No_Auth_Process.bpmn +52 -0
- package/resources/Rest Connector Timer Event.bpmn +227 -0
- package/resources/SM_Document_Handling_Connectors_User_Flow.bpmn +297 -0
- package/resources/Start_Event_Webhook_Connector_No_Auth_Process.bpmn +43 -0
- package/resources/Start_Form_Process.bpmn +29 -0
- package/resources/User_Task_Editing_Variables.bpmn +41 -0
- package/resources/User_Task_Process_With_Form.bpmn +41 -0
- package/resources/User_Task_Process_With_Form_2.bpmn +41 -0
- package/resources/User_Task_Process_With_Form_3.bpmn +42 -0
- package/resources/User_Task_Process_With_Form_API.bpmn +41 -0
- package/resources/Variable_Process.bpmn +38 -0
- package/resources/Zeebe_User_Task.bpmn +41 -0
- package/resources/Zeebe_User_Task_Process_With_Priority.bpmn +145 -0
- package/resources/agentic_ai/ai-agent-chat-user-feedback.form +87 -0
- package/resources/agentic_ai/ai-agent-chat-with-tools_aws.bpmn +443 -0
- package/resources/agentic_ai/ai-agent-chat-with-tools_azure.bpmn +441 -0
- package/resources/agentic_ai/ai-agent-chat-with-tools_open_ai.bpmn +438 -0
- package/resources/agentic_ai/ai-agent-subprocess-with-tools_aws_key.bpmn +115 -0
- package/resources/camunda.png +0 -0
- package/resources/cluster_variables/cluster_variable_global_scope.bpmn +59 -0
- package/resources/cluster_variables/cluster_variable_json_form.form +49 -0
- package/resources/cluster_variables/cluster_variable_json_mutable.bpmn +33 -0
- package/resources/cluster_variables/cluster_variable_json_readonly.bpmn +59 -0
- package/resources/cluster_variables/cluster_variable_string_form.form +31 -0
- package/resources/cluster_variables/cluster_variable_string_mutable.bpmn +31 -0
- package/resources/cluster_variables/cluster_variable_string_readonly.bpmn +57 -0
- package/resources/cluster_variables/preview_cluster_variables.form +49 -0
- package/resources/connectors/aws/bedrock-knowledge-base.bpmn +72 -0
- package/resources/connectors/db_vector_connector/db-vector-plain-text_azure_open_ai.bpmn +183 -0
- package/resources/connectors/db_vector_connector/db-vector-plain-text_open_ai.bpmn +178 -0
- package/resources/connectors/db_vector_connector/db-vector-plain-text_openai_amazon_opensearch.bpmn +189 -0
- package/resources/connectors/db_vector_connector/db-vector-retrieve-data.form +34 -0
- package/resources/idp/idp_sample_bank_statement.pdf +0 -0
- package/resources/idp/structured_invoice_1.pdf +74 -0
- package/resources/idp/structured_invoice_2.pdf +74 -0
- package/resources/idp/structured_invoice_3.pdf +74 -0
- package/resources/idp/structured_invoice_test.pdf +74 -0
- package/resources/mcp_server/keycloak/camunda-platform-realm.json +45 -0
- package/resources/mcp_server/mcp_remote_client_basic_auth.bpmn +69 -0
- package/resources/mcp_server/mcp_remote_client_bearer_auth.bpmn +68 -0
- package/resources/mcp_server/mcp_remote_client_oauth_auth.bpmn +76 -0
- package/resources/mcp_server/mcp_remote_client_operations.bpmn +373 -0
- package/resources/mcp_server/mcp_server_list_tools.bpmn +69 -0
- package/resources/mcp_server_saas/mcp_cluster_tools.bpmn +168 -0
- package/resources/mcp_server_saas/mcp_incident_test_file.bpmn +54 -0
- package/resources/mcp_server_saas/mcp_incident_tools.bpmn +240 -0
- package/resources/mcp_server_saas/mcp_process_definition_test_file.bpmn +51 -0
- package/resources/mcp_server_saas/mcp_process_definition_tools.bpmn +234 -0
- package/resources/mcp_server_saas/mcp_process_instance_test_file.bpmn +51 -0
- package/resources/mcp_server_saas/mcp_process_instance_tools.bpmn +232 -0
- package/resources/mcp_server_saas/mcp_user_task_test_file.bpmn +55 -0
- package/resources/mcp_server_saas/mcp_user_task_tools.bpmn +309 -0
- package/resources/mcp_server_saas/mcp_variable_test_file.bpmn +35 -0
- package/resources/mcp_server_saas/mcp_variable_tools.bpmn +170 -0
- package/resources/simple_pdf.pdf +0 -0
- package/resources/simple_text.txt +1 -0
- package/resources/test-api-v2-complete.sh +12162 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
7
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_ClusterStatus"
|
|
8
|
+
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
|
|
9
|
+
exporterVersion="9e96352" modeler:executionPlatform="Camunda Cloud"
|
|
10
|
+
modeler:executionPlatformVersion="8.9.0">
|
|
11
|
+
<bpmn:process id="Process_mcp_cluster_tools" name="MCP Cluster tools" isExecutable="true">
|
|
12
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
13
|
+
<bpmn:outgoing>Flow_1nrepge</bpmn:outgoing>
|
|
14
|
+
</bpmn:startEvent>
|
|
15
|
+
<bpmn:endEvent id="EndEvent_1">
|
|
16
|
+
<bpmn:incoming>Flow_0jqbea8</bpmn:incoming>
|
|
17
|
+
</bpmn:endEvent>
|
|
18
|
+
<bpmn:serviceTask id="getClusterStatus" name="getClusterStatus"
|
|
19
|
+
zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
|
|
20
|
+
zeebe:modelerTemplateVersion="2"
|
|
21
|
+
zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
22
|
+
<bpmn:extensionElements>
|
|
23
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
24
|
+
<zeebe:ioMapping>
|
|
25
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
26
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
27
|
+
target="data.transport.http.url" />
|
|
28
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
29
|
+
target="data.transport.http.authentication.type" />
|
|
30
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
31
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
32
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
33
|
+
target="data.transport.http.authentication.clientId" />
|
|
34
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
35
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
36
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
37
|
+
target="data.transport.http.authentication.audience" />
|
|
38
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
39
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
40
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
41
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
42
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
43
|
+
<zeebe:input source="getClusterStatus"
|
|
44
|
+
target="data.connectorMode.operation.toolName" />
|
|
45
|
+
<zeebe:input source="={}" target="data.connectorMode.operation.toolArguments" />
|
|
46
|
+
</zeebe:ioMapping>
|
|
47
|
+
<zeebe:taskHeaders>
|
|
48
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
49
|
+
<zeebe:header key="elementTemplateId"
|
|
50
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
51
|
+
<zeebe:header key="resultVariable" value="mcpResultClusterStatus" />
|
|
52
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
53
|
+
</zeebe:taskHeaders>
|
|
54
|
+
</bpmn:extensionElements>
|
|
55
|
+
<bpmn:incoming>Flow_0l0tehi</bpmn:incoming>
|
|
56
|
+
<bpmn:outgoing>Flow_101za4d</bpmn:outgoing>
|
|
57
|
+
</bpmn:serviceTask>
|
|
58
|
+
<bpmn:sequenceFlow id="Flow_1nrepge" sourceRef="StartEvent_1" targetRef="Gateway_1axprup" />
|
|
59
|
+
<bpmn:sequenceFlow id="Flow_101za4d" sourceRef="getClusterStatus"
|
|
60
|
+
targetRef="Gateway_1t2m7hj" />
|
|
61
|
+
<bpmn:parallelGateway id="Gateway_1t2m7hj">
|
|
62
|
+
<bpmn:incoming>Flow_101za4d</bpmn:incoming>
|
|
63
|
+
<bpmn:incoming>Flow_1x7w6kt</bpmn:incoming>
|
|
64
|
+
<bpmn:outgoing>Flow_0jqbea8</bpmn:outgoing>
|
|
65
|
+
</bpmn:parallelGateway>
|
|
66
|
+
<bpmn:parallelGateway id="Gateway_1axprup">
|
|
67
|
+
<bpmn:incoming>Flow_1nrepge</bpmn:incoming>
|
|
68
|
+
<bpmn:outgoing>Flow_0l0tehi</bpmn:outgoing>
|
|
69
|
+
<bpmn:outgoing>Flow_066dp5w</bpmn:outgoing>
|
|
70
|
+
</bpmn:parallelGateway>
|
|
71
|
+
<bpmn:sequenceFlow id="Flow_0l0tehi" sourceRef="Gateway_1axprup"
|
|
72
|
+
targetRef="getClusterStatus" />
|
|
73
|
+
<bpmn:serviceTask id="getTopology" name="getTopology"
|
|
74
|
+
zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
|
|
75
|
+
zeebe:modelerTemplateVersion="2"
|
|
76
|
+
zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
77
|
+
<bpmn:extensionElements>
|
|
78
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
79
|
+
<zeebe:ioMapping>
|
|
80
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
81
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
82
|
+
target="data.transport.http.url" />
|
|
83
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
84
|
+
target="data.transport.http.authentication.type" />
|
|
85
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
86
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
87
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
88
|
+
target="data.transport.http.authentication.clientId" />
|
|
89
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
90
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
91
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
92
|
+
target="data.transport.http.authentication.audience" />
|
|
93
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
94
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
95
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
96
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
97
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
98
|
+
<zeebe:input source="getTopology" target="data.connectorMode.operation.toolName" />
|
|
99
|
+
<zeebe:input source="={}" target="data.connectorMode.operation.toolArguments" />
|
|
100
|
+
</zeebe:ioMapping>
|
|
101
|
+
<zeebe:taskHeaders>
|
|
102
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
103
|
+
<zeebe:header key="elementTemplateId"
|
|
104
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
105
|
+
<zeebe:header key="resultVariable" value="mcpResultTopology" />
|
|
106
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
107
|
+
</zeebe:taskHeaders>
|
|
108
|
+
</bpmn:extensionElements>
|
|
109
|
+
<bpmn:incoming>Flow_066dp5w</bpmn:incoming>
|
|
110
|
+
<bpmn:outgoing>Flow_1x7w6kt</bpmn:outgoing>
|
|
111
|
+
</bpmn:serviceTask>
|
|
112
|
+
<bpmn:sequenceFlow id="Flow_066dp5w" sourceRef="Gateway_1axprup" targetRef="getTopology" />
|
|
113
|
+
<bpmn:sequenceFlow id="Flow_1x7w6kt" sourceRef="getTopology" targetRef="Gateway_1t2m7hj" />
|
|
114
|
+
<bpmn:sequenceFlow id="Flow_0jqbea8" sourceRef="Gateway_1t2m7hj" targetRef="EndEvent_1" />
|
|
115
|
+
</bpmn:process>
|
|
116
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
117
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_mcp_cluster_tools">
|
|
118
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
119
|
+
<dc:Bounds x="112" y="162" width="36" height="36" />
|
|
120
|
+
</bpmndi:BPMNShape>
|
|
121
|
+
<bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
|
|
122
|
+
<dc:Bounds x="512" y="162" width="36" height="36" />
|
|
123
|
+
</bpmndi:BPMNShape>
|
|
124
|
+
<bpmndi:BPMNShape id="CallClusterStatus_di" bpmnElement="getClusterStatus">
|
|
125
|
+
<dc:Bounds x="270" y="80" width="100" height="80" />
|
|
126
|
+
<bpmndi:BPMNLabel />
|
|
127
|
+
</bpmndi:BPMNShape>
|
|
128
|
+
<bpmndi:BPMNShape id="Gateway_0zao8hh_di" bpmnElement="Gateway_1t2m7hj">
|
|
129
|
+
<dc:Bounds x="405" y="155" width="50" height="50" />
|
|
130
|
+
</bpmndi:BPMNShape>
|
|
131
|
+
<bpmndi:BPMNShape id="Gateway_0hi8l2e_di" bpmnElement="Gateway_1axprup">
|
|
132
|
+
<dc:Bounds x="185" y="155" width="50" height="50" />
|
|
133
|
+
</bpmndi:BPMNShape>
|
|
134
|
+
<bpmndi:BPMNShape id="BPMNShape_0igquhd" bpmnElement="getTopology">
|
|
135
|
+
<dc:Bounds x="270" y="200" width="100" height="80" />
|
|
136
|
+
<bpmndi:BPMNLabel />
|
|
137
|
+
</bpmndi:BPMNShape>
|
|
138
|
+
<bpmndi:BPMNEdge id="Flow_1nrepge_di" bpmnElement="Flow_1nrepge">
|
|
139
|
+
<di:waypoint x="148" y="180" />
|
|
140
|
+
<di:waypoint x="185" y="180" />
|
|
141
|
+
</bpmndi:BPMNEdge>
|
|
142
|
+
<bpmndi:BPMNEdge id="Flow_101za4d_di" bpmnElement="Flow_101za4d">
|
|
143
|
+
<di:waypoint x="370" y="120" />
|
|
144
|
+
<di:waypoint x="430" y="120" />
|
|
145
|
+
<di:waypoint x="430" y="155" />
|
|
146
|
+
</bpmndi:BPMNEdge>
|
|
147
|
+
<bpmndi:BPMNEdge id="Flow_0l0tehi_di" bpmnElement="Flow_0l0tehi">
|
|
148
|
+
<di:waypoint x="210" y="155" />
|
|
149
|
+
<di:waypoint x="210" y="120" />
|
|
150
|
+
<di:waypoint x="270" y="120" />
|
|
151
|
+
</bpmndi:BPMNEdge>
|
|
152
|
+
<bpmndi:BPMNEdge id="Flow_066dp5w_di" bpmnElement="Flow_066dp5w">
|
|
153
|
+
<di:waypoint x="210" y="205" />
|
|
154
|
+
<di:waypoint x="210" y="240" />
|
|
155
|
+
<di:waypoint x="270" y="240" />
|
|
156
|
+
</bpmndi:BPMNEdge>
|
|
157
|
+
<bpmndi:BPMNEdge id="Flow_1x7w6kt_di" bpmnElement="Flow_1x7w6kt">
|
|
158
|
+
<di:waypoint x="370" y="240" />
|
|
159
|
+
<di:waypoint x="430" y="240" />
|
|
160
|
+
<di:waypoint x="430" y="205" />
|
|
161
|
+
</bpmndi:BPMNEdge>
|
|
162
|
+
<bpmndi:BPMNEdge id="Flow_0jqbea8_di" bpmnElement="Flow_0jqbea8">
|
|
163
|
+
<di:waypoint x="455" y="180" />
|
|
164
|
+
<di:waypoint x="512" y="180" />
|
|
165
|
+
</bpmndi:BPMNEdge>
|
|
166
|
+
</bpmndi:BPMNPlane>
|
|
167
|
+
</bpmndi:BPMNDiagram>
|
|
168
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
7
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_Incident"
|
|
8
|
+
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
|
|
9
|
+
exporterVersion="5336cca" modeler:executionPlatform="Camunda Cloud"
|
|
10
|
+
modeler:executionPlatformVersion="8.9.0">
|
|
11
|
+
<bpmn:process id="mcp_incident_test_file" name="MCP Incident Test File"
|
|
12
|
+
isExecutable="true">
|
|
13
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
14
|
+
<bpmn:outgoing>Flow_1</bpmn:outgoing>
|
|
15
|
+
</bpmn:startEvent>
|
|
16
|
+
<bpmn:sequenceFlow id="Flow_1" sourceRef="StartEvent_1" targetRef="failing_call_activity" />
|
|
17
|
+
<!-- Call activity referencing a non-existent process intentionally.
|
|
18
|
+
Zeebe raises a CALLED_ELEMENT_ERROR incident immediately when it
|
|
19
|
+
reaches this activity, with no worker or polling needed. -->
|
|
20
|
+
<bpmn:callActivity id="failing_call_activity" name="Call Non-Existent Process">
|
|
21
|
+
<bpmn:extensionElements>
|
|
22
|
+
<zeebe:calledElement processId="nonExistentProcess_e2eIncidentTest" />
|
|
23
|
+
</bpmn:extensionElements>
|
|
24
|
+
<bpmn:incoming>Flow_1</bpmn:incoming>
|
|
25
|
+
<bpmn:outgoing>Flow_2</bpmn:outgoing>
|
|
26
|
+
</bpmn:callActivity>
|
|
27
|
+
<bpmn:sequenceFlow id="Flow_2" sourceRef="failing_call_activity" targetRef="EndEvent_1" />
|
|
28
|
+
<bpmn:endEvent id="EndEvent_1">
|
|
29
|
+
<bpmn:incoming>Flow_2</bpmn:incoming>
|
|
30
|
+
</bpmn:endEvent>
|
|
31
|
+
</bpmn:process>
|
|
32
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
33
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mcp_incident_test_file">
|
|
34
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
35
|
+
<dc:Bounds x="152" y="102" width="36" height="36" />
|
|
36
|
+
</bpmndi:BPMNShape>
|
|
37
|
+
<bpmndi:BPMNShape id="Activity_FailingCallActivity_di" bpmnElement="failing_call_activity">
|
|
38
|
+
<dc:Bounds x="240" y="80" width="100" height="80" />
|
|
39
|
+
<bpmndi:BPMNLabel />
|
|
40
|
+
</bpmndi:BPMNShape>
|
|
41
|
+
<bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
|
|
42
|
+
<dc:Bounds x="392" y="102" width="36" height="36" />
|
|
43
|
+
</bpmndi:BPMNShape>
|
|
44
|
+
<bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1">
|
|
45
|
+
<di:waypoint x="188" y="120" />
|
|
46
|
+
<di:waypoint x="240" y="120" />
|
|
47
|
+
</bpmndi:BPMNEdge>
|
|
48
|
+
<bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2">
|
|
49
|
+
<di:waypoint x="340" y="120" />
|
|
50
|
+
<di:waypoint x="392" y="120" />
|
|
51
|
+
</bpmndi:BPMNEdge>
|
|
52
|
+
</bpmndi:BPMNPlane>
|
|
53
|
+
</bpmndi:BPMNDiagram>
|
|
54
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
7
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_IncidentTools"
|
|
8
|
+
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
|
|
9
|
+
exporterVersion="5336cca" modeler:executionPlatform="Camunda Cloud"
|
|
10
|
+
modeler:executionPlatformVersion="8.9.0">
|
|
11
|
+
<bpmn:process id="mcp_incident_tools" name="MCP Incident Tools"
|
|
12
|
+
isExecutable="true">
|
|
13
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
14
|
+
<bpmn:outgoing>Flow_start</bpmn:outgoing>
|
|
15
|
+
</bpmn:startEvent>
|
|
16
|
+
<bpmn:endEvent id="EndEvent_1">
|
|
17
|
+
<bpmn:incoming>Flow_end</bpmn:incoming>
|
|
18
|
+
</bpmn:endEvent>
|
|
19
|
+
|
|
20
|
+
<!-- Parallel Gateway Split -->
|
|
21
|
+
<bpmn:parallelGateway id="Gateway_split">
|
|
22
|
+
<bpmn:incoming>Flow_start</bpmn:incoming>
|
|
23
|
+
<bpmn:outgoing>Flow_to_search</bpmn:outgoing>
|
|
24
|
+
<bpmn:outgoing>Flow_to_get</bpmn:outgoing>
|
|
25
|
+
<bpmn:outgoing>Flow_to_resolve</bpmn:outgoing>
|
|
26
|
+
</bpmn:parallelGateway>
|
|
27
|
+
|
|
28
|
+
<!-- Parallel Gateway Join -->
|
|
29
|
+
<bpmn:parallelGateway id="Gateway_join">
|
|
30
|
+
<bpmn:incoming>Flow_from_search</bpmn:incoming>
|
|
31
|
+
<bpmn:incoming>Flow_from_get</bpmn:incoming>
|
|
32
|
+
<bpmn:incoming>Flow_from_resolve</bpmn:incoming>
|
|
33
|
+
<bpmn:outgoing>Flow_end</bpmn:outgoing>
|
|
34
|
+
</bpmn:parallelGateway>
|
|
35
|
+
|
|
36
|
+
<bpmn:sequenceFlow id="Flow_start" sourceRef="StartEvent_1" targetRef="Gateway_split" />
|
|
37
|
+
<bpmn:sequenceFlow id="Flow_end" sourceRef="Gateway_join" targetRef="EndEvent_1" />
|
|
38
|
+
|
|
39
|
+
<!-- searchIncidents Task -->
|
|
40
|
+
<bpmn:serviceTask id="searchIncidents" name="searchIncidents"
|
|
41
|
+
zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
|
|
42
|
+
zeebe:modelerTemplateVersion="2"
|
|
43
|
+
zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
44
|
+
<bpmn:extensionElements>
|
|
45
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
46
|
+
<zeebe:ioMapping>
|
|
47
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
48
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
49
|
+
target="data.transport.http.url" />
|
|
50
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
51
|
+
target="data.transport.http.authentication.type" />
|
|
52
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
53
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
54
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
55
|
+
target="data.transport.http.authentication.clientId" />
|
|
56
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
57
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
58
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
59
|
+
target="data.transport.http.authentication.audience" />
|
|
60
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
61
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
62
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
63
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
64
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
65
|
+
<zeebe:input source="searchIncidents"
|
|
66
|
+
target="data.connectorMode.operation.toolName" />
|
|
67
|
+
<zeebe:input
|
|
68
|
+
source="={"filter":{"processDefinitionKey":string(testFileProcessKey)}}"
|
|
69
|
+
target="data.connectorMode.operation.toolArguments" />
|
|
70
|
+
</zeebe:ioMapping>
|
|
71
|
+
<zeebe:taskHeaders>
|
|
72
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
73
|
+
<zeebe:header key="elementTemplateId"
|
|
74
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
75
|
+
<zeebe:header key="resultVariable" value="mcpResultSearchIncidents" />
|
|
76
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
77
|
+
</zeebe:taskHeaders>
|
|
78
|
+
</bpmn:extensionElements>
|
|
79
|
+
<bpmn:incoming>Flow_to_search</bpmn:incoming>
|
|
80
|
+
<bpmn:outgoing>Flow_from_search</bpmn:outgoing>
|
|
81
|
+
</bpmn:serviceTask>
|
|
82
|
+
|
|
83
|
+
<!-- getIncident Task -->
|
|
84
|
+
<bpmn:serviceTask id="getIncident" name="getIncident"
|
|
85
|
+
zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
|
|
86
|
+
zeebe:modelerTemplateVersion="2"
|
|
87
|
+
zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
88
|
+
<bpmn:extensionElements>
|
|
89
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
90
|
+
<zeebe:ioMapping>
|
|
91
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
92
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
93
|
+
target="data.transport.http.url" />
|
|
94
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
95
|
+
target="data.transport.http.authentication.type" />
|
|
96
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
97
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
98
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
99
|
+
target="data.transport.http.authentication.clientId" />
|
|
100
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
101
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
102
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
103
|
+
target="data.transport.http.authentication.audience" />
|
|
104
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
105
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
106
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
107
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
108
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
109
|
+
<zeebe:input source="getIncident"
|
|
110
|
+
target="data.connectorMode.operation.toolName" />
|
|
111
|
+
<zeebe:input source="={"incidentKey":string(testIncidentKey)}"
|
|
112
|
+
target="data.connectorMode.operation.toolArguments" />
|
|
113
|
+
</zeebe:ioMapping>
|
|
114
|
+
<zeebe:taskHeaders>
|
|
115
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
116
|
+
<zeebe:header key="elementTemplateId"
|
|
117
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
118
|
+
<zeebe:header key="resultVariable" value="mcpResultGetIncident" />
|
|
119
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
120
|
+
</zeebe:taskHeaders>
|
|
121
|
+
</bpmn:extensionElements>
|
|
122
|
+
<bpmn:incoming>Flow_to_get</bpmn:incoming>
|
|
123
|
+
<bpmn:outgoing>Flow_from_get</bpmn:outgoing>
|
|
124
|
+
</bpmn:serviceTask>
|
|
125
|
+
|
|
126
|
+
<!-- resolveIncident Task -->
|
|
127
|
+
<bpmn:serviceTask id="resolveIncident" name="resolveIncident"
|
|
128
|
+
zeebe:modelerTemplate="io.camunda.connectors.agenticai.mcp.remoteclient.v0"
|
|
129
|
+
zeebe:modelerTemplateVersion="2"
|
|
130
|
+
zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5NiAzOS4zNDMxIDEzNi4xOTYgNTQuNTM5MSAxMjYuODIzIDYzLjkxMTdMNzUuNTU4MSAxMTUuMTc3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICAgIDxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTEwOS44NTMgNDYuOTQxMUw1OS42NDgyIDk3LjE0NTdDNTAuMjc1NyAxMDYuNTE4IDUwLjI3NTcgMTIxLjcxNCA1OS42NDgyIDEzMS4wODdWMTMxLjA4N0M2OS4wMjA4IDE0MC40NTkgODQuMjE2OCAxNDAuNDU5IDkzLjU4OTQgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K">
|
|
131
|
+
<bpmn:extensionElements>
|
|
132
|
+
<zeebe:taskDefinition type="io.camunda.agenticai:mcpremoteclient:1" retries="3" />
|
|
133
|
+
<zeebe:ioMapping>
|
|
134
|
+
<zeebe:input source="http" target="data.transport.type" />
|
|
135
|
+
<zeebe:input source="{{secrets.MCP_BASE_URL}}/mcp/cluster"
|
|
136
|
+
target="data.transport.http.url" />
|
|
137
|
+
<zeebe:input source="oauth-client-credentials-flow"
|
|
138
|
+
target="data.transport.http.authentication.type" />
|
|
139
|
+
<zeebe:input source="{{secrets.MCP_OAUTH_URL}}"
|
|
140
|
+
target="data.transport.http.authentication.oauthTokenEndpoint" />
|
|
141
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_ID}}"
|
|
142
|
+
target="data.transport.http.authentication.clientId" />
|
|
143
|
+
<zeebe:input source="{{secrets.MCP_CLIENT_SECRET}}"
|
|
144
|
+
target="data.transport.http.authentication.clientSecret" />
|
|
145
|
+
<zeebe:input source="{{secrets.MCP_TOKEN_AUDIENCE}}"
|
|
146
|
+
target="data.transport.http.authentication.audience" />
|
|
147
|
+
<zeebe:input source="CREDENTIALS_BODY"
|
|
148
|
+
target="data.transport.http.authentication.clientAuthentication" />
|
|
149
|
+
<zeebe:input source="=true" target="data.options.clientCache" />
|
|
150
|
+
<zeebe:input source="standalone" target="data.connectorMode.type" />
|
|
151
|
+
<zeebe:input source="tools/call" target="data.connectorMode.operation.type" />
|
|
152
|
+
<zeebe:input source="resolveIncident"
|
|
153
|
+
target="data.connectorMode.operation.toolName" />
|
|
154
|
+
<zeebe:input source="={"incidentKey":string(testIncidentKey)}"
|
|
155
|
+
target="data.connectorMode.operation.toolArguments" />
|
|
156
|
+
</zeebe:ioMapping>
|
|
157
|
+
<zeebe:taskHeaders>
|
|
158
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
159
|
+
<zeebe:header key="elementTemplateId"
|
|
160
|
+
value="io.camunda.connectors.agenticai.mcp.remoteclient.v0" />
|
|
161
|
+
<zeebe:header key="resultVariable" value="mcpResultResolveIncident" />
|
|
162
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
163
|
+
</zeebe:taskHeaders>
|
|
164
|
+
</bpmn:extensionElements>
|
|
165
|
+
<bpmn:incoming>Flow_to_resolve</bpmn:incoming>
|
|
166
|
+
<bpmn:outgoing>Flow_from_resolve</bpmn:outgoing>
|
|
167
|
+
</bpmn:serviceTask>
|
|
168
|
+
|
|
169
|
+
<bpmn:sequenceFlow id="Flow_to_search" sourceRef="Gateway_split" targetRef="searchIncidents" />
|
|
170
|
+
<bpmn:sequenceFlow id="Flow_from_search" sourceRef="searchIncidents"
|
|
171
|
+
targetRef="Gateway_join" />
|
|
172
|
+
<bpmn:sequenceFlow id="Flow_to_get" sourceRef="Gateway_split" targetRef="getIncident" />
|
|
173
|
+
<bpmn:sequenceFlow id="Flow_from_get" sourceRef="getIncident" targetRef="Gateway_join" />
|
|
174
|
+
<bpmn:sequenceFlow id="Flow_to_resolve" sourceRef="Gateway_split"
|
|
175
|
+
targetRef="resolveIncident" />
|
|
176
|
+
<bpmn:sequenceFlow id="Flow_from_resolve" sourceRef="resolveIncident"
|
|
177
|
+
targetRef="Gateway_join" />
|
|
178
|
+
</bpmn:process>
|
|
179
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
180
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mcp_incident_tools">
|
|
181
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
182
|
+
<dc:Bounds x="152" y="192" width="36" height="36" />
|
|
183
|
+
</bpmndi:BPMNShape>
|
|
184
|
+
<bpmndi:BPMNShape id="Gateway_split_di" bpmnElement="Gateway_split">
|
|
185
|
+
<dc:Bounds x="238" y="185" width="50" height="50" />
|
|
186
|
+
</bpmndi:BPMNShape>
|
|
187
|
+
<bpmndi:BPMNShape id="Activity_searchIncidents_di" bpmnElement="searchIncidents">
|
|
188
|
+
<dc:Bounds x="340" y="80" width="100" height="80" />
|
|
189
|
+
</bpmndi:BPMNShape>
|
|
190
|
+
<bpmndi:BPMNShape id="Activity_getIncident_di" bpmnElement="getIncident">
|
|
191
|
+
<dc:Bounds x="340" y="170" width="100" height="80" />
|
|
192
|
+
</bpmndi:BPMNShape>
|
|
193
|
+
<bpmndi:BPMNShape id="Activity_resolveIncident_di" bpmnElement="resolveIncident">
|
|
194
|
+
<dc:Bounds x="340" y="260" width="100" height="80" />
|
|
195
|
+
</bpmndi:BPMNShape>
|
|
196
|
+
<bpmndi:BPMNShape id="Gateway_join_di" bpmnElement="Gateway_join">
|
|
197
|
+
<dc:Bounds x="492" y="185" width="50" height="50" />
|
|
198
|
+
</bpmndi:BPMNShape>
|
|
199
|
+
<bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
|
|
200
|
+
<dc:Bounds x="592" y="192" width="36" height="36" />
|
|
201
|
+
</bpmndi:BPMNShape>
|
|
202
|
+
<bpmndi:BPMNEdge id="Flow_start_di" bpmnElement="Flow_start">
|
|
203
|
+
<di:waypoint x="188" y="210" />
|
|
204
|
+
<di:waypoint x="238" y="210" />
|
|
205
|
+
</bpmndi:BPMNEdge>
|
|
206
|
+
<bpmndi:BPMNEdge id="Flow_to_search_di" bpmnElement="Flow_to_search">
|
|
207
|
+
<di:waypoint x="263" y="185" />
|
|
208
|
+
<di:waypoint x="263" y="120" />
|
|
209
|
+
<di:waypoint x="340" y="120" />
|
|
210
|
+
</bpmndi:BPMNEdge>
|
|
211
|
+
<bpmndi:BPMNEdge id="Flow_from_search_di" bpmnElement="Flow_from_search">
|
|
212
|
+
<di:waypoint x="440" y="120" />
|
|
213
|
+
<di:waypoint x="517" y="120" />
|
|
214
|
+
<di:waypoint x="517" y="185" />
|
|
215
|
+
</bpmndi:BPMNEdge>
|
|
216
|
+
<bpmndi:BPMNEdge id="Flow_to_get_di" bpmnElement="Flow_to_get">
|
|
217
|
+
<di:waypoint x="288" y="210" />
|
|
218
|
+
<di:waypoint x="340" y="210" />
|
|
219
|
+
</bpmndi:BPMNEdge>
|
|
220
|
+
<bpmndi:BPMNEdge id="Flow_from_get_di" bpmnElement="Flow_from_get">
|
|
221
|
+
<di:waypoint x="440" y="210" />
|
|
222
|
+
<di:waypoint x="492" y="210" />
|
|
223
|
+
</bpmndi:BPMNEdge>
|
|
224
|
+
<bpmndi:BPMNEdge id="Flow_to_resolve_di" bpmnElement="Flow_to_resolve">
|
|
225
|
+
<di:waypoint x="263" y="235" />
|
|
226
|
+
<di:waypoint x="263" y="300" />
|
|
227
|
+
<di:waypoint x="340" y="300" />
|
|
228
|
+
</bpmndi:BPMNEdge>
|
|
229
|
+
<bpmndi:BPMNEdge id="Flow_from_resolve_di" bpmnElement="Flow_from_resolve">
|
|
230
|
+
<di:waypoint x="440" y="300" />
|
|
231
|
+
<di:waypoint x="517" y="300" />
|
|
232
|
+
<di:waypoint x="517" y="235" />
|
|
233
|
+
</bpmndi:BPMNEdge>
|
|
234
|
+
<bpmndi:BPMNEdge id="Flow_end_di" bpmnElement="Flow_end">
|
|
235
|
+
<di:waypoint x="542" y="210" />
|
|
236
|
+
<di:waypoint x="592" y="210" />
|
|
237
|
+
</bpmndi:BPMNEdge>
|
|
238
|
+
</bpmndi:BPMNPlane>
|
|
239
|
+
</bpmndi:BPMNDiagram>
|
|
240
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0"
|
|
7
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1"
|
|
8
|
+
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
|
|
9
|
+
exporterVersion="ac7a54a" modeler:executionPlatform="Camunda Cloud"
|
|
10
|
+
modeler:executionPlatformVersion="8.8.0">
|
|
11
|
+
<bpmn:process id="mcp_process_definition_test_file" name="mcp_process_definition_test_file"
|
|
12
|
+
isExecutable="true">
|
|
13
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
14
|
+
<bpmn:outgoing>Flow_1yg9m0h</bpmn:outgoing>
|
|
15
|
+
</bpmn:startEvent>
|
|
16
|
+
<bpmn:sequenceFlow id="Flow_1yg9m0h" sourceRef="StartEvent_1" targetRef="script_task" />
|
|
17
|
+
<bpmn:sequenceFlow id="Flow_0zyt9z3" sourceRef="script_task" targetRef="Event_0oi7lal" />
|
|
18
|
+
<bpmn:endEvent id="Event_0oi7lal">
|
|
19
|
+
<bpmn:incoming>Flow_0zyt9z3</bpmn:incoming>
|
|
20
|
+
</bpmn:endEvent>
|
|
21
|
+
<bpmn:scriptTask id="script_task" name="script_task">
|
|
22
|
+
<bpmn:extensionElements>
|
|
23
|
+
<zeebe:script expression="="Hello world"" resultVariable="Hello" />
|
|
24
|
+
</bpmn:extensionElements>
|
|
25
|
+
<bpmn:incoming>Flow_1yg9m0h</bpmn:incoming>
|
|
26
|
+
<bpmn:outgoing>Flow_0zyt9z3</bpmn:outgoing>
|
|
27
|
+
</bpmn:scriptTask>
|
|
28
|
+
</bpmn:process>
|
|
29
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
30
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mcp_process_definition_test_file">
|
|
31
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
32
|
+
<dc:Bounds x="332" y="252" width="36" height="36" />
|
|
33
|
+
</bpmndi:BPMNShape>
|
|
34
|
+
<bpmndi:BPMNShape id="Event_0oi7lal_di" bpmnElement="Event_0oi7lal">
|
|
35
|
+
<dc:Bounds x="582" y="252" width="36" height="36" />
|
|
36
|
+
</bpmndi:BPMNShape>
|
|
37
|
+
<bpmndi:BPMNShape id="Activity_1ilca65_di" bpmnElement="script_task">
|
|
38
|
+
<dc:Bounds x="420" y="230" width="100" height="80" />
|
|
39
|
+
<bpmndi:BPMNLabel />
|
|
40
|
+
</bpmndi:BPMNShape>
|
|
41
|
+
<bpmndi:BPMNEdge id="Flow_1yg9m0h_di" bpmnElement="Flow_1yg9m0h">
|
|
42
|
+
<di:waypoint x="368" y="270" />
|
|
43
|
+
<di:waypoint x="420" y="270" />
|
|
44
|
+
</bpmndi:BPMNEdge>
|
|
45
|
+
<bpmndi:BPMNEdge id="Flow_0zyt9z3_di" bpmnElement="Flow_0zyt9z3">
|
|
46
|
+
<di:waypoint x="520" y="270" />
|
|
47
|
+
<di:waypoint x="582" y="270" />
|
|
48
|
+
</bpmndi:BPMNEdge>
|
|
49
|
+
</bpmndi:BPMNPlane>
|
|
50
|
+
</bpmndi:BPMNDiagram>
|
|
51
|
+
</bpmn:definitions>
|