Module
wso2.icp
Module wso2.icp
anuruddha/wso2.icp
1.0.0
Package Overview
The wso2.icp 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
wso2.icp: HeartbeatJob
execute
function execute()Executes the heartbeat job.
Clients
wso2.icp: IcpClient
ICP Client This client is responsible for communicating with the ICP server to send heartbeats and receive control commands
sendDeltaHeartbeat
Isolated FunctionRemote Function
function sendDeltaHeartbeat(DeltaHeartbeat deltaHeartbeat) returns HeartbeatResponse|errorParameters
- deltaHeartbeat DeltaHeartbeat -
sendHeartbeat
Isolated FunctionRemote Function
Parameters
- heartbeat Heartbeat -
Enums
wso2.icp: ArtifactState
Members
ENABLED
DISABLED
STARTING
STOPPING
FAILED
wso2.icp: ArtifactType
Members
SERVICE
LISTENER
wso2.icp: ControlCommandStatus
Members
PENDING
SENT
ACKNOWLEDGED
FAILED
wso2.icp: RuntimeStatus
Members
RUNNING
FAILED
DISABLED
OFFLINE
STOPPED
wso2.icp: RuntimeType
Members
MI
BI
Configurables
wso2.icp: runtimeIdFile
wso2.icp: serverUrl
wso2.icp: heartbeatInterval
wso2.icp: opensearchURL
wso2.icp: logIndex
wso2.icp: metricsEnabled
wso2.icp: cert
wso2.icp: enableSSL
wso2.icp: jwtIssuer
wso2.icp: privateKeyFile
wso2.icp: jwtExpiryTimeSeconds
wso2.icp: environment
wso2.icp: integration
wso2.icp: project
wso2.icp: defaultRuntimeJwtHMACSecret
Records
wso2.icp: Artifact
Fields
- name string -
wso2.icp: Artifacts
Fields
- listeners ListenerDetail[] -
- services ServiceDetail[] -
wso2.icp: ControlCommand
Closed record
Fields
- commandId string -
- runtimeId string -
- targetArtifact string -
- action string -
- issuedAt Utc -
- status ControlCommandStatus -
wso2.icp: DeltaHeartbeat
Closed record
Fields
- runtime string -
- runtimeHash string -
- timestamp Utc -
wso2.icp: Heartbeat
Closed record
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 -
wso2.icp: HeartbeatForHash
Closed record
Description.
Fields
- runtime string - field description
- runtimeType RuntimeType - field description
- status RuntimeStatus - field description
- environment string - field description
- project string - field description
- component string - field description
- version? string - field description
- nodeInfo Node - field description
- artifacts Artifacts - field description
wso2.icp: HeartbeatResponse
Fields
- acknowledged boolean -
- fullHeartbeatRequired? boolean -
- commands? ControlCommand[] -
wso2.icp: IcpConfig
Closed record
Fields
- icp IcpServer -
- observability Observability -
wso2.icp: IcpServer
Closed record
Fields
- serverUrl string -
- cert string -
- enableSSL boolean -
- heartbeatInterval int -
wso2.icp: ListenerDetail
Fields
- Fields Included from *Artifact
- name string
- anydata...
- protocol? string -
- package string -
- state? ArtifactState -
wso2.icp: Node
Fields
- platformName string(default "ballerina") -
- platformVersion? string -
- platformHome? string -
- ballerinaHome? string -
- osName? string -
- osVersion? string -
wso2.icp: Observability
Closed record
Fields
- opensearchUrl string -
- logIndex string -
- metricsEnabled boolean -
wso2.icp: RequestLimit
Fields
- maxUriLength int -
- maxHeaderSize int -
- maxEntityBodySize int -
wso2.icp: Resource
Fields
- methods string[] -
- url string -
wso2.icp: ServiceDetail
Fields
- Fields Included from *Artifact
- name string
- anydata...
- basePath string? -
- package string -
- listeners Artifact[] -
- resources Resource[] -
- state? ArtifactState -
Union types
wso2.icp: ArtifactDetail
ArtifactDetail
Import
import anuruddha/wso2.icp;Other versions
1.0.0
Metadata
Released date: 20 days ago
Version: 1.0.0
License: Apache-2.0
Compatibility
Platform: java21
Ballerina version: 2201.12.9
GraalVM compatible: Yes
Pull count
Total: 5
Current verison: 5
Weekly downloads