blob: e6f2226beafda9f0581bb246dfb20c562a455ec6 [file] [log] [blame]
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
name: kogitoserverlessworkflows.sw.kogito.kie.org
spec:
group: sw.kogito.kie.org
names:
kind: KogitoServerlessWorkflow
listKind: KogitoServerlessWorkflowList
plural: kogitoserverlessworkflows
singular: kogitoserverlessworkflow
scope: Namespaced
versions:
- name: v1alpha08
schema:
openAPIV3Schema:
description: KogitoServerlessWorkflow is the Schema for the kogitoserverlessworkflows
API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: KogitoServerlessWorkflowSpec defines the desired state of
KogitoServerlessWorkflow
properties:
auth:
properties:
name:
type: string
properties:
properties:
basic:
properties:
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
password:
type: string
username:
type: string
required:
- password
- username
type: object
bearer:
properties:
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
token:
type: string
required:
- token
type: object
oauth2:
properties:
audiences:
items:
type: string
type: array
basic:
type: string
clientId:
type: string
clientSecret:
type: string
grantType:
type: string
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
password:
type: string
requestedIssuer:
type: string
requestedSubject:
type: string
scopes:
items:
type: string
type: array
subjectToken:
type: string
username:
type: string
required:
- clientId
- grantType
type: object
type: object
scheme:
type: string
required:
- name
- properties
- scheme
type: object
autoRetries:
type: boolean
conditions:
items:
properties:
name:
type: string
value:
type: string
required:
- name
- value
type: object
type: array
errors:
items:
properties:
code:
type: string
description:
type: string
name:
type: string
required:
- code
- name
type: object
type: array
events:
items:
properties:
correlation:
items:
properties:
contextAttributeName:
type: string
contextAttributeValue:
type: string
required:
- contextAttributeName
type: object
type: array
dataOnly:
type: boolean
kind:
type: string
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
name:
type: string
source:
type: string
type:
type: string
required:
- name
- type
type: object
type: array
functions:
items:
properties:
authRef:
type: string
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
name:
type: string
operation:
type: string
type:
type: string
required:
- name
- operation
type: object
type: array
keepActive:
type: boolean
retries:
properties:
delay:
type: string
increment:
type: string
jitter:
type: string
maxAttempts:
type: integer
maxDelay:
type: string
multiplier:
type: string
name:
type: string
required:
- name
type: object
secrets:
items:
description: Secret holds secret data of a certain type. The total
bytes of the values in the Data field must be less than MaxSecretSize
bytes.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this
representation of an object. Servers should convert recognized
schemas to the latest internal value, and may reject unrecognized
values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
data:
additionalProperties:
format: byte
type: string
description: Data contains the secret data. Each key must consist
of alphanumeric characters, '-', '_' or '.'. The serialized
form of the secret data is a base64 encoded string, representing
the arbitrary (possibly non-string) data value here. Described
in https://tools.ietf.org/html/rfc4648#section-4
type: object
immutable:
description: Immutable, if set to true, ensures that data stored
in the Secret cannot be updated (only object metadata can
be modified). If not set to true, the field can be modified
at any time. Defaulted to nil.
type: boolean
kind:
description: 'Kind is a string value representing the REST resource
this object represents. Servers may infer this from the endpoint
the client submits requests to. Cannot be updated. In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata'
type: object
stringData:
additionalProperties:
type: string
description: stringData allows specifying non-binary secret
data in string form. It is provided as a write-only input
field for convenience. All keys and values are merged into
the data field on write, overwriting any existing values.
The stringData field is never output when reading from the
API.
type: object
type:
description: 'Used to facilitate programmatic handling of secret
data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types'
type: string
type: object
type: array
start:
type: string
states:
items:
properties:
actionMode:
type: string
actions:
items:
properties:
actionDataFilter:
properties:
fromStateData:
type: string
results:
type: string
toStateData:
type: string
useResults:
type: boolean
type: object
condition:
type: boolean
eventRef:
properties:
consumeEventRef:
type: string
consumeEventTimeout:
type: string
contextAttributes:
additionalProperties:
type: object
description: TODO Define a custom type for ContextAttribute
type: object
data:
type: string
invoke:
type: string
produceEventRef:
type: string
required:
- produceEventRef
type: object
functionRef:
properties:
arguments:
additionalProperties:
type: string
type: object
invoke:
type: string
refName:
type: string
selectionSet:
type: string
required:
- refName
type: object
name:
type: string
nonRetryableErrors:
items:
type: string
type: array
retryRef:
type: string
retryableErrors:
items:
type: string
type: array
sleep:
description: Sleep ...
properties:
after:
description: After Amount of time (ISO 8601 duration
format) to sleep after function/subflow invocation.
Does not apply if 'eventRef' is defined.
type: string
before:
description: Before Amount of time (ISO 8601 duration
format) to sleep before function/subflow invocation.
Does not apply if 'eventRef' is defined.
type: string
type: object
subFlowRef:
type: string
type: object
type: array
batchSize:
type: integer
branches:
items:
properties:
actions:
items:
properties:
actionDataFilter:
properties:
fromStateData:
type: string
results:
type: string
toStateData:
type: string
useResults:
type: boolean
type: object
condition:
type: boolean
eventRef:
properties:
consumeEventRef:
type: string
consumeEventTimeout:
type: string
contextAttributes:
additionalProperties:
type: object
description: TODO Define a custom type for ContextAttribute
type: object
data:
type: string
invoke:
type: string
produceEventRef:
type: string
required:
- produceEventRef
type: object
functionRef:
properties:
arguments:
additionalProperties:
type: string
type: object
invoke:
type: string
refName:
type: string
selectionSet:
type: string
required:
- refName
type: object
name:
type: string
nonRetryableErrors:
items:
type: string
type: array
retryRef:
type: string
retryableErrors:
items:
type: string
type: array
sleep:
description: Sleep ...
properties:
after:
description: After Amount of time (ISO 8601
duration format) to sleep after function/subflow
invocation. Does not apply if 'eventRef' is
defined.
type: string
before:
description: Before Amount of time (ISO 8601
duration format) to sleep before function/subflow
invocation. Does not apply if 'eventRef' is
defined.
type: string
type: object
subFlowRef:
type: string
type: object
type: array
name:
type: string
timeouts:
properties:
actionExecTimeout:
type: string
branchExecTimeout:
type: string
eventTimeout:
type: string
stateExecTimeout:
type: string
workflowExecTimeout:
type: string
type: object
required:
- actions
- name
type: object
type: array
compensatedBy:
type: string
completionType:
type: string
data:
additionalProperties:
type: string
type: object
dataConditions:
items:
properties:
condition:
type: string
end:
type: boolean
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
name:
type: string
transition:
type: string
required:
- condition
type: object
type: array
defaultCondition:
description: 'TODO: Define a type for DefaultCondition object'
type: string
duration:
type: string
end:
type: boolean
eventConditions:
items:
properties:
end:
type: boolean
eventDataFilter:
properties:
data:
type: string
toStateData:
type: string
useData:
type: boolean
type: object
eventRef:
type: string
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
name:
type: string
transition:
type: string
required:
- eventRef
type: object
type: array
eventDataFilter:
properties:
data:
type: string
toStateData:
type: string
useData:
type: boolean
type: object
eventRef:
properties:
consumeEventRef:
type: string
consumeEventTimeout:
type: string
contextAttributes:
additionalProperties:
type: object
description: TODO Define a custom type for ContextAttribute
type: object
data:
type: string
invoke:
type: string
produceEventRef:
type: string
required:
- produceEventRef
type: object
exclusive:
type: boolean
inputCollection:
type: string
iterationParam:
type: string
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
mode:
type: string
name:
type: string
numCompleted:
type: integer
onErrors:
items:
properties:
end:
type: boolean
errorRef:
type: string
errorRefs:
items:
type: string
type: array
transition:
type: string
required:
- errorRef
- errorRefs
type: object
type: array
onEvents:
items:
properties:
actionMode:
type: string
actions:
items:
properties:
actionDataFilter:
properties:
fromStateData:
type: string
results:
type: string
toStateData:
type: string
useResults:
type: boolean
type: object
condition:
type: boolean
eventRef:
properties:
consumeEventRef:
type: string
consumeEventTimeout:
type: string
contextAttributes:
additionalProperties:
type: object
description: TODO Define a custom type for ContextAttribute
type: object
data:
type: string
invoke:
type: string
produceEventRef:
type: string
required:
- produceEventRef
type: object
functionRef:
properties:
arguments:
additionalProperties:
type: string
type: object
invoke:
type: string
refName:
type: string
selectionSet:
type: string
required:
- refName
type: object
name:
type: string
nonRetryableErrors:
items:
type: string
type: array
retryRef:
type: string
retryableErrors:
items:
type: string
type: array
sleep:
description: Sleep ...
properties:
after:
description: After Amount of time (ISO 8601
duration format) to sleep after function/subflow
invocation. Does not apply if 'eventRef' is
defined.
type: string
before:
description: Before Amount of time (ISO 8601
duration format) to sleep before function/subflow
invocation. Does not apply if 'eventRef' is
defined.
type: string
type: object
subFlowRef:
type: string
type: object
type: array
eventDataFilter:
properties:
data:
type: string
toStateData:
type: string
useData:
type: boolean
type: object
eventRefs:
items:
properties:
consumeEventRef:
type: string
consumeEventTimeout:
type: string
contextAttributes:
additionalProperties:
type: object
description: TODO Define a custom type for ContextAttribute
type: object
data:
type: string
invoke:
type: string
produceEventRef:
type: string
required:
- produceEventRef
type: object
type: array
required:
- eventRefs
type: object
type: array
outputCollection:
type: string
stateDataFilter:
properties:
input:
type: string
output:
type: string
type: object
timeouts:
properties:
actionExecTimeout:
type: string
branchExecTimeout:
type: string
eventTimeout:
type: string
stateExecTimeout:
type: string
workflowExecTimeout:
type: string
type: object
transition:
type: string
type:
enum:
- event
- operation
- switch
- sleep
- parallel
- inject
- foreach
type: string
usedForCompensation:
type: boolean
required:
- name
- type
type: object
type: array
timeouts:
items:
properties:
actionExecTimeout:
type: string
branchExecTimeout:
type: string
eventTimeout:
type: string
stateExecTimeout:
type: string
workflowExecTimeout:
type: string
type: object
type: array
required:
- start
- states
type: object
status:
description: KogitoServerlessWorkflowStatus defines the observed state
of KogitoServerlessWorkflow
properties:
address:
description: "Addressable provides a generic mechanism for a custom
resource definition to indicate a destination for message delivery.
\n Addressable is the schema for the destination information. This
is typically stored in the object's `status`, as this information
may be generated by the controller."
properties:
url:
type: string
type: object
applied:
description: KogitoServerlessWorkflowSpec defines the desired state
of KogitoServerlessWorkflow
properties:
auth:
properties:
name:
type: string
properties:
properties:
basic:
properties:
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
password:
type: string
username:
type: string
required:
- password
- username
type: object
bearer:
properties:
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
token:
type: string
required:
- token
type: object
oauth2:
properties:
audiences:
items:
type: string
type: array
basic:
type: string
clientId:
type: string
clientSecret:
type: string
grantType:
type: string
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
password:
type: string
requestedIssuer:
type: string
requestedSubject:
type: string
scopes:
items:
type: string
type: array
subjectToken:
type: string
username:
type: string
required:
- clientId
- grantType
type: object
type: object
scheme:
type: string
required:
- name
- properties
- scheme
type: object
autoRetries:
type: boolean
conditions:
items:
properties:
name:
type: string
value:
type: string
required:
- name
- value
type: object
type: array
errors:
items:
properties:
code:
type: string
description:
type: string
name:
type: string
required:
- code
- name
type: object
type: array
events:
items:
properties:
correlation:
items:
properties:
contextAttributeName:
type: string
contextAttributeValue:
type: string
required:
- contextAttributeName
type: object
type: array
dataOnly:
type: boolean
kind:
type: string
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
name:
type: string
source:
type: string
type:
type: string
required:
- name
- type
type: object
type: array
functions:
items:
properties:
authRef:
type: string
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
name:
type: string
operation:
type: string
type:
type: string
required:
- name
- operation
type: object
type: array
keepActive:
type: boolean
retries:
properties:
delay:
type: string
increment:
type: string
jitter:
type: string
maxAttempts:
type: integer
maxDelay:
type: string
multiplier:
type: string
name:
type: string
required:
- name
type: object
secrets:
items:
description: Secret holds secret data of a certain type. The
total bytes of the values in the Data field must be less than
MaxSecretSize bytes.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of
this representation of an object. Servers should convert
recognized schemas to the latest internal value, and may
reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
data:
additionalProperties:
format: byte
type: string
description: Data contains the secret data. Each key must
consist of alphanumeric characters, '-', '_' or '.'. The
serialized form of the secret data is a base64 encoded
string, representing the arbitrary (possibly non-string)
data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
type: object
immutable:
description: Immutable, if set to true, ensures that data
stored in the Secret cannot be updated (only object metadata
can be modified). If not set to true, the field can be
modified at any time. Defaulted to nil.
type: boolean
kind:
description: 'Kind is a string value representing the REST
resource this object represents. Servers may infer this
from the endpoint the client submits requests to. Cannot
be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata'
type: object
stringData:
additionalProperties:
type: string
description: stringData allows specifying non-binary secret
data in string form. It is provided as a write-only input
field for convenience. All keys and values are merged
into the data field on write, overwriting any existing
values. The stringData field is never output when reading
from the API.
type: object
type:
description: 'Used to facilitate programmatic handling of
secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types'
type: string
type: object
type: array
start:
type: string
states:
items:
properties:
actionMode:
type: string
actions:
items:
properties:
actionDataFilter:
properties:
fromStateData:
type: string
results:
type: string
toStateData:
type: string
useResults:
type: boolean
type: object
condition:
type: boolean
eventRef:
properties:
consumeEventRef:
type: string
consumeEventTimeout:
type: string
contextAttributes:
additionalProperties:
type: object
description: TODO Define a custom type for ContextAttribute
type: object
data:
type: string
invoke:
type: string
produceEventRef:
type: string
required:
- produceEventRef
type: object
functionRef:
properties:
arguments:
additionalProperties:
type: string
type: object
invoke:
type: string
refName:
type: string
selectionSet:
type: string
required:
- refName
type: object
name:
type: string
nonRetryableErrors:
items:
type: string
type: array
retryRef:
type: string
retryableErrors:
items:
type: string
type: array
sleep:
description: Sleep ...
properties:
after:
description: After Amount of time (ISO 8601 duration
format) to sleep after function/subflow invocation.
Does not apply if 'eventRef' is defined.
type: string
before:
description: Before Amount of time (ISO 8601 duration
format) to sleep before function/subflow invocation.
Does not apply if 'eventRef' is defined.
type: string
type: object
subFlowRef:
type: string
type: object
type: array
batchSize:
type: integer
branches:
items:
properties:
actions:
items:
properties:
actionDataFilter:
properties:
fromStateData:
type: string
results:
type: string
toStateData:
type: string
useResults:
type: boolean
type: object
condition:
type: boolean
eventRef:
properties:
consumeEventRef:
type: string
consumeEventTimeout:
type: string
contextAttributes:
additionalProperties:
type: object
description: TODO Define a custom type for
ContextAttribute
type: object
data:
type: string
invoke:
type: string
produceEventRef:
type: string
required:
- produceEventRef
type: object
functionRef:
properties:
arguments:
additionalProperties:
type: string
type: object
invoke:
type: string
refName:
type: string
selectionSet:
type: string
required:
- refName
type: object
name:
type: string
nonRetryableErrors:
items:
type: string
type: array
retryRef:
type: string
retryableErrors:
items:
type: string
type: array
sleep:
description: Sleep ...
properties:
after:
description: After Amount of time (ISO 8601
duration format) to sleep after function/subflow
invocation. Does not apply if 'eventRef'
is defined.
type: string
before:
description: Before Amount of time (ISO
8601 duration format) to sleep before
function/subflow invocation. Does not
apply if 'eventRef' is defined.
type: string
type: object
subFlowRef:
type: string
type: object
type: array
name:
type: string
timeouts:
properties:
actionExecTimeout:
type: string
branchExecTimeout:
type: string
eventTimeout:
type: string
stateExecTimeout:
type: string
workflowExecTimeout:
type: string
type: object
required:
- actions
- name
type: object
type: array
compensatedBy:
type: string
completionType:
type: string
data:
additionalProperties:
type: string
type: object
dataConditions:
items:
properties:
condition:
type: string
end:
type: boolean
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
name:
type: string
transition:
type: string
required:
- condition
type: object
type: array
defaultCondition:
description: 'TODO: Define a type for DefaultCondition object'
type: string
duration:
type: string
end:
type: boolean
eventConditions:
items:
properties:
end:
type: boolean
eventDataFilter:
properties:
data:
type: string
toStateData:
type: string
useData:
type: boolean
type: object
eventRef:
type: string
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
name:
type: string
transition:
type: string
required:
- eventRef
type: object
type: array
eventDataFilter:
properties:
data:
type: string
toStateData:
type: string
useData:
type: boolean
type: object
eventRef:
properties:
consumeEventRef:
type: string
consumeEventTimeout:
type: string
contextAttributes:
additionalProperties:
type: object
description: TODO Define a custom type for ContextAttribute
type: object
data:
type: string
invoke:
type: string
produceEventRef:
type: string
required:
- produceEventRef
type: object
exclusive:
type: boolean
inputCollection:
type: string
iterationParam:
type: string
metadata:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
mode:
type: string
name:
type: string
numCompleted:
type: integer
onErrors:
items:
properties:
end:
type: boolean
errorRef:
type: string
errorRefs:
items:
type: string
type: array
transition:
type: string
required:
- errorRef
- errorRefs
type: object
type: array
onEvents:
items:
properties:
actionMode:
type: string
actions:
items:
properties:
actionDataFilter:
properties:
fromStateData:
type: string
results:
type: string
toStateData:
type: string
useResults:
type: boolean
type: object
condition:
type: boolean
eventRef:
properties:
consumeEventRef:
type: string
consumeEventTimeout:
type: string
contextAttributes:
additionalProperties:
type: object
description: TODO Define a custom type for
ContextAttribute
type: object
data:
type: string
invoke:
type: string
produceEventRef:
type: string
required:
- produceEventRef
type: object
functionRef:
properties:
arguments:
additionalProperties:
type: string
type: object
invoke:
type: string
refName:
type: string
selectionSet:
type: string
required:
- refName
type: object
name:
type: string
nonRetryableErrors:
items:
type: string
type: array
retryRef:
type: string
retryableErrors:
items:
type: string
type: array
sleep:
description: Sleep ...
properties:
after:
description: After Amount of time (ISO 8601
duration format) to sleep after function/subflow
invocation. Does not apply if 'eventRef'
is defined.
type: string
before:
description: Before Amount of time (ISO
8601 duration format) to sleep before
function/subflow invocation. Does not
apply if 'eventRef' is defined.
type: string
type: object
subFlowRef:
type: string
type: object
type: array
eventDataFilter:
properties:
data:
type: string
toStateData:
type: string
useData:
type: boolean
type: object
eventRefs:
items:
properties:
consumeEventRef:
type: string
consumeEventTimeout:
type: string
contextAttributes:
additionalProperties:
type: object
description: TODO Define a custom type for ContextAttribute
type: object
data:
type: string
invoke:
type: string
produceEventRef:
type: string
required:
- produceEventRef
type: object
type: array
required:
- eventRefs
type: object
type: array
outputCollection:
type: string
stateDataFilter:
properties:
input:
type: string
output:
type: string
type: object
timeouts:
properties:
actionExecTimeout:
type: string
branchExecTimeout:
type: string
eventTimeout:
type: string
stateExecTimeout:
type: string
workflowExecTimeout:
type: string
type: object
transition:
type: string
type:
enum:
- event
- operation
- switch
- sleep
- parallel
- inject
- foreach
type: string
usedForCompensation:
type: boolean
required:
- name
- type
type: object
type: array
timeouts:
items:
properties:
actionExecTimeout:
type: string
branchExecTimeout:
type: string
eventTimeout:
type: string
stateExecTimeout:
type: string
workflowExecTimeout:
type: string
type: object
type: array
required:
- start
- states
type: object
condition:
description: ConditionType type of condition
type: string
endpoints:
items:
properties:
ip:
type: string
port:
type: integer
portName:
type: string
protocol:
type: string
type: object
type: array
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null