Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ system-nexus-wit-install:

nex-gen-install:
printf $(COLOR) "Install nex-gen if missing..."
command -v $(NEX_GEN) >/dev/null || cargo install nex-gen
command -v $(NEX_GEN) >/dev/null || cargo install nex-gen --version ^0.1

##### Clean #####
clean:
Expand Down
180 changes: 180 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -10848,6 +10848,102 @@
},
"description": "Target a worker polling on a Nexus task queue in a specific namespace."
},
"EnvironmentInfoArchitecture": {
"type": "string",
"enum": [
"ARCHITECTURE_UNSPECIFIED",
"ARCHITECTURE_AMD64",
"ARCHITECTURE_ARM64"
],
"default": "ARCHITECTURE_UNSPECIFIED"
},
"EnvironmentInfoHostingEnvironment": {
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/HostingEnvironmentHostingEnvironmentType",
"description": "The type of hosting environment."
},
"version": {
"type": "string",
"description": "The version of the hosting environment, if obtainable."
}
}
},
"EnvironmentInfoLinuxPlatform": {
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "The Linux kernel or distribution version, if obtainable."
},
"architecture": {
"$ref": "#/definitions/EnvironmentInfoArchitecture",
"description": "The architecture of the worker process."
},
"libc": {
"$ref": "#/definitions/LinuxPlatformLibc",
"description": "The libc used by the worker process."
}
}
},
"EnvironmentInfoMacOSPlatform": {
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "The macOS version, if obtainable."
},
"architecture": {
"$ref": "#/definitions/EnvironmentInfoArchitecture",
"description": "The architecture of the worker process."
}
}
},
"EnvironmentInfoPlatform": {
"type": "object",
"properties": {
"linux": {
"$ref": "#/definitions/EnvironmentInfoLinuxPlatform"
},
"macos": {
"$ref": "#/definitions/EnvironmentInfoMacOSPlatform"
},
"windows": {
"$ref": "#/definitions/EnvironmentInfoWindowsPlatform"
}
}
},
"EnvironmentInfoRuntime": {
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/RuntimeRuntimeType",
"description": "The type of the runtime."
},
"version": {
"type": "string",
"description": "The version of the runtime, if obtainable."
}
}
},
"EnvironmentInfoWindowsPlatform": {
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "The Windows version, if obtainable."
},
"architecture": {
"$ref": "#/definitions/EnvironmentInfoArchitecture",
"description": "The architecture of the worker process."
},
"crt": {
"$ref": "#/definitions/WindowsPlatformCrt",
"description": "The C runtime used by the worker process, if obtainable."
}
}
},
"EventGroupMarkerInboundEvent": {
"type": "object",
"properties": {
Expand All @@ -10867,6 +10963,23 @@
},
"description": "The identifier of an inbound Update (request.meta.update_id)\nwhose handler triggered implicit creation of this group Marker.\n\nUsed in place of `inbound_event_id` for Updates because the event ID of the\nUpdateAccepted history event is not known until the Workflow Task is\ncompleted and recorded by the server, which may be too late."
},
"HostingEnvironmentHostingEnvironmentType": {
"type": "string",
"enum": [
"HOSTING_ENVIRONMENT_TYPE_UNSPECIFIED",
"HOSTING_ENVIRONMENT_TYPE_DOCKER",
"HOSTING_ENVIRONMENT_TYPE_K8S",
"HOSTING_ENVIRONMENT_TYPE_AWS_LAMBDA",
"HOSTING_ENVIRONMENT_TYPE_AWS_ECS",
"HOSTING_ENVIRONMENT_TYPE_GOOGLE_CLOUD_RUN",
"HOSTING_ENVIRONMENT_TYPE_GOOGLE_APP_ENGINE",
"HOSTING_ENVIRONMENT_TYPE_AZURE_APP_SERVICE",
"HOSTING_ENVIRONMENT_TYPE_AZURE_FUNCTIONS",
"HOSTING_ENVIRONMENT_TYPE_AZURE_CONTAINER_APPS"
],
"default": "HOSTING_ENVIRONMENT_TYPE_UNSPECIFIED",
"description": "What kind of hosting environment we're running in. This list is about what can actually be\ndetected reliably and is unrelated to what SDKs can actually run in.\n\n - HOSTING_ENVIRONMENT_TYPE_UNSPECIFIED: Should never actually be set, exists to follow convention of having a default.\nSDKs should just leave `hosting_environments` empty if none can be determined.\n - HOSTING_ENVIRONMENT_TYPE_DOCKER: Should always be in the list if we're running inside a docker container\n - HOSTING_ENVIRONMENT_TYPE_K8S: Should always be in the list if we're running inside any k8s environment\n - HOSTING_ENVIRONMENT_TYPE_AWS_LAMBDA: Detect via `AWS_LAMBDA_FUNCTION_NAME`\n - HOSTING_ENVIRONMENT_TYPE_AWS_ECS: Detect via `ECS_CONTAINER_METADATA_URI_V4` or `ECS_CONTAINER_METADATA_URI`\n - HOSTING_ENVIRONMENT_TYPE_GOOGLE_CLOUD_RUN: Detect via `K_SERVICE`\n - HOSTING_ENVIRONMENT_TYPE_GOOGLE_APP_ENGINE: Detect via `GAE_SERVICE`\n - HOSTING_ENVIRONMENT_TYPE_AZURE_APP_SERVICE: Detect via `WEBSITE_SITE_NAME`\n - HOSTING_ENVIRONMENT_TYPE_AZURE_FUNCTIONS: Detect via `FUNCTIONS_EXTENSION_VERSION`\n - HOSTING_ENVIRONMENT_TYPE_AZURE_CONTAINER_APPS: Detect via `CONTAINER_APP_NAME`"
},
"LinkActivity": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -10944,6 +11057,15 @@
}
}
},
"LinuxPlatformLibc": {
"type": "string",
"enum": [
"LIBC_UNSPECIFIED",
"LIBC_GLIBC",
"LIBC_MUSL"
],
"default": "LIBC_UNSPECIFIED"
},
"ListWorkerDeploymentsResponseWorkerDeploymentSummary": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -11099,6 +11221,24 @@
},
"description": "UpdateWorkflowOptions represents updating workflow execution options after a workflow reset.\nKeep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest."
},
"RuntimeRuntimeType": {
"type": "string",
"enum": [
"RUNTIME_TYPE_UNSPECIFIED",
"RUNTIME_TYPE_JVM",
"RUNTIME_TYPE_CPYTHON",
"RUNTIME_TYPE_NODE",
"RUNTIME_TYPE_BUN",
"RUNTIME_TYPE_CRUBY",
"RUNTIME_TYPE_GO",
"RUNTIME_TYPE_DOTNET_FRAMEWORK",
"RUNTIME_TYPE_DOTNET_CORE",
"RUNTIME_TYPE_NATIVE",
"RUNTIME_TYPE_ROADRUNNER"
],
"default": "RUNTIME_TYPE_UNSPECIFIED",
"description": " - RUNTIME_TYPE_UNSPECIFIED: Should never actually be set, exists to follow convention of having a default.\nSDKs should just leave `runtimes` empty if none can be determined."
},
"UpdateTaskQueueConfigRequestRateLimitUpdate": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -11144,6 +11284,17 @@
"default": "PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED",
"description": " - PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: Unspecified.\n - PINNED_OVERRIDE_BEHAVIOR_PINNED: Override workflow behavior to be Pinned."
},
"WindowsPlatformCrt": {
"type": "string",
"enum": [
"CRT_UNSPECIFIED",
"CRT_UCRT",
"CRT_MSVCRT",
"CRT_MINGW",
"CRT_CYGWIN"
],
"default": "CRT_UNSPECIFIED"
},
"WorkerConfigAutoscalingPollerBehavior": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -15599,6 +15750,31 @@
},
"description": "Target to route requests to."
},
"v1EnvironmentInfo": {
"type": "object",
"properties": {
"runtimes": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/EnvironmentInfoRuntime"
},
"description": "The runtime(s) the SDK is operating in."
},
"hostingEnvironments": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/EnvironmentInfoHostingEnvironment"
},
"description": "The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s)."
},
"platform": {
"$ref": "#/definitions/EnvironmentInfoPlatform",
"description": "The platform the SDK is operating on."
}
}
},
"v1EventGroupMarker": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -20673,6 +20849,10 @@
"$ref": "#/definitions/v1StorageDriverInfo"
},
"description": "Storage drivers in use by this SDK."
},
"environment": {
"$ref": "#/definitions/v1EnvironmentInfo",
"description": "Information about the environment this SDK is running in."
}
},
"description": "Worker info message, contains information about the worker and its current state.\nAll information is provided by the worker itself."
Expand Down
133 changes: 133 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12084,6 +12084,135 @@ components:
type: string
description: Nexus task queue to route requests to.
description: Target a worker polling on a Nexus task queue in a specific namespace.
EnvironmentInfo:
type: object
properties:
runtimes:
type: array
items:
$ref: '#/components/schemas/EnvironmentInfo_Runtime'
description: The runtime(s) the SDK is operating in.
hostingEnvironments:
type: array
items:
$ref: '#/components/schemas/EnvironmentInfo_HostingEnvironment'
description: 'The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).'
platform:
allOf:
- $ref: '#/components/schemas/EnvironmentInfo_Platform'
description: The platform the SDK is operating on.
EnvironmentInfo_HostingEnvironment:
type: object
properties:
type:
enum:
- HOSTING_ENVIRONMENT_TYPE_UNSPECIFIED
- HOSTING_ENVIRONMENT_TYPE_DOCKER
- HOSTING_ENVIRONMENT_TYPE_K8S
- HOSTING_ENVIRONMENT_TYPE_AWS_LAMBDA
- HOSTING_ENVIRONMENT_TYPE_AWS_ECS
- HOSTING_ENVIRONMENT_TYPE_GOOGLE_CLOUD_RUN
- HOSTING_ENVIRONMENT_TYPE_GOOGLE_APP_ENGINE
- HOSTING_ENVIRONMENT_TYPE_AZURE_APP_SERVICE
- HOSTING_ENVIRONMENT_TYPE_AZURE_FUNCTIONS
- HOSTING_ENVIRONMENT_TYPE_AZURE_CONTAINER_APPS
type: string
description: The type of hosting environment.
format: enum
version:
type: string
description: The version of the hosting environment, if obtainable.
EnvironmentInfo_LinuxPlatform:
type: object
properties:
version:
type: string
description: The Linux kernel or distribution version, if obtainable.
architecture:
enum:
- ARCHITECTURE_UNSPECIFIED
- ARCHITECTURE_AMD64
- ARCHITECTURE_ARM64
type: string
description: The architecture of the worker process.
format: enum
libc:
enum:
- LIBC_UNSPECIFIED
- LIBC_GLIBC
- LIBC_MUSL
type: string
description: The libc used by the worker process.
format: enum
EnvironmentInfo_MacOSPlatform:
type: object
properties:
version:
type: string
description: The macOS version, if obtainable.
architecture:
enum:
- ARCHITECTURE_UNSPECIFIED
- ARCHITECTURE_AMD64
- ARCHITECTURE_ARM64
type: string
description: The architecture of the worker process.
format: enum
EnvironmentInfo_Platform:
type: object
properties:
linux:
$ref: '#/components/schemas/EnvironmentInfo_LinuxPlatform'
macos:
$ref: '#/components/schemas/EnvironmentInfo_MacOSPlatform'
windows:
$ref: '#/components/schemas/EnvironmentInfo_WindowsPlatform'
EnvironmentInfo_Runtime:
type: object
properties:
type:
enum:
- RUNTIME_TYPE_UNSPECIFIED
- RUNTIME_TYPE_JVM
- RUNTIME_TYPE_CPYTHON
- RUNTIME_TYPE_NODE
- RUNTIME_TYPE_BUN
- RUNTIME_TYPE_CRUBY
- RUNTIME_TYPE_GO
- RUNTIME_TYPE_DOTNET_FRAMEWORK
- RUNTIME_TYPE_DOTNET_CORE
- RUNTIME_TYPE_NATIVE
- RUNTIME_TYPE_ROADRUNNER
type: string
description: The type of the runtime.
format: enum
version:
type: string
description: The version of the runtime, if obtainable.
EnvironmentInfo_WindowsPlatform:
type: object
properties:
version:
type: string
description: The Windows version, if obtainable.
architecture:
enum:
- ARCHITECTURE_UNSPECIFIED
- ARCHITECTURE_AMD64
- ARCHITECTURE_ARM64
type: string
description: The architecture of the worker process.
format: enum
crt:
enum:
- CRT_UNSPECIFIED
- CRT_UCRT
- CRT_MSVCRT
- CRT_MINGW
- CRT_CYGWIN
type: string
description: The C runtime used by the worker process, if obtainable.
format: enum
EventGroupMarker:
type: object
properties:
Expand Down Expand Up @@ -19111,6 +19240,10 @@ components:
items:
$ref: '#/components/schemas/StorageDriverInfo'
description: Storage drivers in use by this SDK.
environment:
allOf:
- $ref: '#/components/schemas/EnvironmentInfo'
description: Information about the environment this SDK is running in.
description: |-
Worker info message, contains information about the worker and its current state.
All information is provided by the worker itself.
Expand Down
Loading
Loading