Skip to content

Commit

Permalink
Merge branch 'main' into consoleSmSbom
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraschuppi authored Sep 23, 2024
2 parents cad86b2 + 8499019 commit 41e3a2c
Show file tree
Hide file tree
Showing 139 changed files with 3,819 additions and 739 deletions.
325 changes: 324 additions & 1 deletion api/camunda/camunda-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,48 @@ paths:
schema:
$ref: "#/components/schemas/ProblemDetail"

/flownode-instances/search:
post:
tags:
- Flow node Instance
summary: Query flow node instances (alpha)
description: |
Search for flow node instances based on given criteria.
:::note
This endpoint is an alpha feature and not enabled on Camunda clusters out of the box.
See the [Camunda 8 REST API overview](/apis-tools/camunda-api-rest/camunda-api-rest-overview.md#query-api)
for further details.
:::
requestBody:
required: false
content:
application/json:
schema:
$ref: "#/components/schemas/FlowNodeInstanceSearchQueryRequest"
responses:
"200":
description: >
The Flow node instance search successful response.
content:
application/json:
schema:
$ref: "#/components/schemas/FlowNodeInstanceSearchQueryResponse"
"400":
description: >
The Flow node instance Search Query failed.
More details are provided in the response body.
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ProblemDetail"
"500":
description: >
An internal error occurred while processing the request.
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ProblemDetail"
/decision-definitions/search:
post:
tags:
Expand Down Expand Up @@ -967,6 +1009,48 @@ paths:
The decision requirements search query failed.
More details are provided in the response body.
/decisions/evaluation:
post:
tags:
- Decision
summary: Evaluate decision
description: |
Evaluates a decision.
You specify the decision to evaluate either by using its unique key (as returned by
DeployResource), or using the decision ID. When using the decision ID, the latest deployed
version of the decision is used.
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/EvaluateDecisionRequest"
responses:
"200":
description: The decision was evaluated.
content:
application/json:
schema:
$ref: "#/components/schemas/EvaluateDecisionResponse"
"400":
description: The provided data is not valid.
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ProblemDetail"
"404":
description: The decision is not found.
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ProblemDetail"
"500":
description: An internal error occurred while processing the request.
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ProblemDetail"

/authorizations/{ownerKey}:
patch:
tags:
Expand Down Expand Up @@ -1883,6 +1967,97 @@ components:
format: int64
minimum: 1

FlowNodeInstanceSearchQueryRequest:
description: Flow node instance search request
allOf:
- $ref: "#/components/schemas/SearchQueryRequest"
type: object
properties:
filter:
allOf:
- $ref: "#/components/schemas/FlowNodeInstanceFilterRequest"
FlowNodeInstanceFilterRequest:
type: object
properties:
flowNodeInstanceKey:
type: integer
description: The key of this flow node instance.
format: int64
processInstanceKey:
type: integer
description: The process instance key.
format: int64
processDefinitionKey:
type: integer
description: The process definition key.
format: int64
state:
type: string
description: The state, one of ACTIVE, COMPLETED, TERMINATED.
type:
type: string
description: The flow node type
flowNodeId:
type: string
description: The flow node id
flowNodeName:
type: string
description: The flow node name
treePath:
type: string
description: The path of keys from process instance to this flow node instance separated by '/'
incident:
type: boolean
description: Shows whether this flow node instance has an incident related to
incidentKey:
type: integer
description: The key of incident if field incident is true
format: int64
tenantId:
description: The tenant id
type: string
FlowNodeInstanceSearchQueryResponse:
allOf:
- $ref: "#/components/schemas/SearchQueryResponse"
type: object
properties:
items:
type: array
items:
$ref: "#/components/schemas/FlowNodeInstanceItem"
FlowNodeInstanceItem:
type: object
properties:
flowNodeInstanceKey:
type: integer
format: int64
processInstanceKey:
type: integer
format: int64
processDefinitionKey:
type: integer
format: int64
startDate:
type: string
endDate:
type: string
flowNodeId:
type: string
flowNodeName:
type: string
treePath:
type: string
type:
type: string
state:
type: string
incident:
type: boolean
incidentKey:
type: integer
format: int64
tenantId:
type: string
DecisionDefinitionSearchQueryRequest:
allOf:
- $ref: "#/components/schemas/SearchQueryRequest"
Expand Down Expand Up @@ -2748,7 +2923,150 @@ components:
description: The name of the resource from which this decision requirements was parsed.
tenantId:
type: string
description: The tenant id of the decision requirements.
description: The tenant ID of the decision requirements.
EvaluateDecisionRequest:
type: object
properties:
decisionKey:
description: |
The unique key identifying the decision to be evaluated.
Cannot be used together with decisionId.
type: integer
format: int64
decisionId:
description: |
The ID of the decision to be evaluated.
Cannot be used together with decisionKey. When using the decision ID, the latest
deployed version of the decision is used.
type: string
variables:
description: The message variables as JSON document.
additionalProperties: true
type: object
tenantId:
description: The tenant ID of the decision.
type: string
EvaluateDecisionResponse:
type: object
properties:
decisionKey:
description: The unique key identifying the decision which was evaluated.
type: integer
format: int64
decisionId:
description: The ID of the decision which was evaluated.
type: string
decisionName:
description: The name of the decision which was evaluated.
type: string
decisionVersion:
description: The version of the decision which was evaluated.
type: integer
format: int32
decisionRequirementsId:
description: The ID of the decision requirements graph that the decision which was evaluated is part of.
type: string
decisionRequirementsKey:
description: The unique key identifying the decision requirements graph that the decision which was evaluated is part of.
type: integer
format: int64
decisionOutput:
description: |
JSON document that will instantiate the result of the decision which was evaluated.
type: string
failedDecisionId:
description: The ID of the decision which failed during evaluation.
type: string
failureMessage:
description: Message describing why the decision which was evaluated failed.
type: string
tenantId:
description: The tenant ID of the evaluated decision.
type: string
decisionInstanceKey:
description: The unique key identifying this decision evaluation.
type: integer
format: int64
evaluatedDecisions:
type: array
items:
$ref: "#/components/schemas/EvaluatedDecisionItem"
EvaluatedDecisionItem:
type: object
description: List of decisions that were evaluated within the requested decision evaluation.
properties:
decisionKey:
description: The unique key identifying the decision which was evaluate.
type: integer
format: int64
decisionId:
description: The ID of the decision which was evaluated.
type: string
decisionName:
description: The name of the decision which was evaluated.
type: string
decisionVersion:
description: The version of the decision which was evaluated.
type: integer
format: int32
decisionType:
description: The type of the decision which was evaluated.
type: string
decisionOutput:
description: |
JSON document that will instantiate the result of the decision which was evaluated.
type: string
tenantId:
description: The tenant ID of the evaluated decision.
type: string
matchedRules:
type: array
items:
$ref: "#/components/schemas/MatchedDecisionRuleItem"
evaluatedInputs:
type: array
items:
$ref: "#/components/schemas/EvaluatedDecisionInputItem"
MatchedDecisionRuleItem:
type: object
description: The decision rules that matched within this decision evaluation.
properties:
ruleId:
description: The ID of the matched rule.
type: string
ruleIndex:
description: The index of the matched rule.
type: string
evaluatedOutputs:
type: array
items:
$ref: "#/components/schemas/EvaluatedDecisionOutputItem"
EvaluatedDecisionInputItem:
type: object
description: The decision inputs that were evaluated within this decision evaluation.
properties:
inputId:
description: The ID of the evaluated decision input.
type: string
inputName:
description: The name of the evaluated decision input.
type: string
inputValue:
description: The value of the evaluated decision input.
type: string
EvaluatedDecisionOutputItem:
type: object
description: The evaluated decision outputs.
properties:
outputId:
description: The ID of the evaluated decision output.
type: string
outputName:
description: The name of the evaluated decision output.
type: string
outputValue:
description: The value of the evaluated decision output.
type: string

MessageCorrelationRequest:
type: object
Expand Down Expand Up @@ -2831,6 +3149,7 @@ components:
tenantId:
description: The tenant ID of the message.
type: string

DocumentReference:
type: object
properties:
Expand Down Expand Up @@ -2861,6 +3180,10 @@ components:
type: string
format: date-time
description: The date and time when the document expires.
size:
type: integer
format: int64
description: The size of the document in bytes.
DocumentLinkRequest:
type: object
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "Iterate through all known partitions and activate jobs up to the r
sidebar_label: "Activate jobs"
hide_title: true
hide_table_of_contents: true
api: eJztWVtz2zYW/isYvmwylSW1m7ZZ9TKj2mmrtHU9ttLdGccPIAlJiEmCBUDJqkb/vd8BeJNIJcrs7lucsSMSB+f6nQugXWD50gST++C1CoOHQRALE2mZW6myYBLMrNDcCmZXWhXLFeNJwh4ztclYzrWVRGUYz2LGIyvXRPlOhYYVObMKmwTT4s9CGCtilvInmRbp8G0WDILy9Q8q3gaTnXuUWsTBxOpCDIJIZVZklpZ4nicy4iRp9M6QUrvARCuRcvpkt7mAmip8JyILvrlWuYBiwjSruyObSC1oyWh1wLhhsVjIDBrKzKn8w81v1wyMImEMeyaGyyH79i8hQjGx3DxeEbEz3DH47m2Q820KZS+M0GsZibcBG33/3FlZamesltky2A+CjdKPQverlPFUMLVwKni6yqnYzE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tOKajZUk73sg3EpzDebh/IkUlphFvf0rbgnhi5QTMpyfcNHCp5njs9ByIWVV9+rEHy9veZjzOVsZv2RvjNM6crmD581VNz+6a5yhz1XhOODu7x7uq9D4fXXaOdW5iW0qN+rr1GFSYPnUXIqQ+UbDR4eYj/66lP40Tneal8LVcLf/4B3nF+IkvryOkRkyJBmtjGG0aY6oj9OaxAdYSFlwMCTkB3XcIXwmVlPEh0PkzCtuZ/LHU8zLlQw0qEHV5Mfnl3dTk5/3l68ebq9s35y8Fo4J6dDxClWM5VR4/J3l3TjqWbtm/9335BqJDh8NkNC8mFIvB7+zdVKbhjlW6dYvAQVQl9xzabmFt8Z+R2S6/fl2jWbHz30OY/PW0jFk6Ivnr4Gx12EYw7n4WLsSWXpb8d2r+T2kb1jkmSYOE+SPvQqWjXv97OKFuqX0foLMrGzPAV/XLCV2zM7tk9YxHT3uE+Ef37DZNcLUq+IPrAl/7+AsHHBn8=
sidebar_class_name: "post api-method"
info_path: docs/apis-tools/camunda-api-rest/specifications/camunda-8-rest-api
custom_edit_url: null
Expand Down
Loading

0 comments on commit 41e3a2c

Please sign in to comment.