icp.runtime.bridge
Module icp.runtime.bridge
wso2/icp.runtime.bridge
Package Overview
The icp.runtime.bridge library is one of the external library packages, it provides internal support for exposing
Ballerina runtime artifacts to the integration control plane.
Report Issues
To report bugs, request new features, start new discussions, view project boards, etc., go to the Ballerina standard library parent repository
Useful Links
- Chat live with us via our Discord server.
- Post all technical questions on Stack Overflow with the #ballerina tag.
Functions
loadConfig
Classes
icp.runtime.bridge: HeartbeatJob
execute
function execute()Executes the heartbeat job.
Clients
icp.runtime.bridge: IcpClient
ICP Client This client is responsible for communicating with the ICP server to send heartbeats and receive control commands
sendDeltaHeartbeat
function sendDeltaHeartbeat(DeltaHeartbeat deltaHeartbeat) returns HeartbeatResponse|errorParameters
- deltaHeartbeat DeltaHeartbeat -
sendHeartbeat
function sendHeartbeat(Heartbeat heartbeat) returns HeartbeatResponse|errorParameters
- heartbeat Heartbeat -
Enums
icp.runtime.bridge: ArtifactState
Members
icp.runtime.bridge: ArtifactType
Members
icp.runtime.bridge: ControlAction
Members
icp.runtime.bridge: ControlCommandStatus
Members
icp.runtime.bridge: RuntimeStatus
Members
icp.runtime.bridge: RuntimeType
Members
Configurables
icp.runtime.bridge: runtimeIdFile
icp.runtime.bridge: serverUrl
icp.runtime.bridge: heartbeatInterval
icp.runtime.bridge: cert
icp.runtime.bridge: enableSSL
icp.runtime.bridge: jwtIssuer
icp.runtime.bridge: jwtExpiryTimeSeconds
icp.runtime.bridge: runtime
icp.runtime.bridge: environment
icp.runtime.bridge: integration
icp.runtime.bridge: project
icp.runtime.bridge: secret
Records
icp.runtime.bridge: Artifact
Fields
- name string -
icp.runtime.bridge: Artifacts
Fields
- listeners? ListenerDetail[] -
- services? ServiceDetail[] -
- main? MainDetail -
icp.runtime.bridge: ControlCommand
Fields
- commandId string -
- runtimeId string -
- targetArtifact Artifact -
- action ControlAction -
- issuedAt Utc -
- status ControlCommandStatus -
- payload? string -
icp.runtime.bridge: DeltaHeartbeat
Fields
- runtime string -
- runtimeHash string -
- timestamp Utc -
icp.runtime.bridge: Heartbeat
Fields
- runtime string -
- runtimeType RuntimeType -
- status RuntimeStatus -
- environment string(default environment) -
- project string -
- component string -
- version? string -
- nodeInfo Node -
- artifacts Artifacts -
- runtimeHash string -
- timestamp Utc -
icp.runtime.bridge: HeartbeatForHash
Fields
- runtime string -
- runtimeType RuntimeType -
- status RuntimeStatus -
- environment string -
- project string -
- component string -
- version? string -
- nodeInfo Node -
- artifacts Artifacts -
icp.runtime.bridge: HeartbeatResponse
Fields
- acknowledged boolean -
- fullHeartbeatRequired? boolean -
- commands ControlCommand[](default []) -
icp.runtime.bridge: IcpConfig
Fields
- serverUrl string -
- cert string -
- enableSSL boolean -
- heartbeatInterval int -
icp.runtime.bridge: ListenerDetail
Fields
- Fields Included from *Artifact
- name string
- anydata...
- protocol? string -
- package string -
- state ArtifactState(default "enabled") -
icp.runtime.bridge: LoggerLevelPayload
Fields
- componentName string -
- logLevel Level -
icp.runtime.bridge: MainDetail
Fields
- packageOrg string -
- packageName string -
- packageVersion string -
icp.runtime.bridge: Node
Fields
- platformName string(default "ballerina") -
- platformVersion? string -
- platformHome? string -
- ballerinaHome? string -
- osName? string -
- osVersion? string -
icp.runtime.bridge: RequestLimit
Fields
- maxUriLength int -
- maxHeaderSize int -
- maxEntityBodySize int -
icp.runtime.bridge: Resource
Fields
- methods string[] -
- url string -
icp.runtime.bridge: ServiceDetail
Fields
- Fields Included from *Artifact
- name string
- anydata...
- basePath string? -
- package string -
- listeners Artifact[] -
- resources Resource[] -
- state ArtifactState(default "enabled") -
Union types
icp.runtime.bridge: ArtifactDetail
ArtifactDetail
Import
import wso2/icp.runtime.bridge;Other versions
0.1.0
Metadata
Released date: 8 days ago
Version: 0.1.0
License: Apache-2.0
Compatibility
Platform: java21
Ballerina version: 2201.13.2-20260220-093800-c76b62a5
GraalVM compatible: Yes
Pull count
Total: 6
Current verison: 6
Weekly downloads