diff --git a/README.md b/README.md index 1c7b4a6a..a7c82912 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ The backend toolkit that gets you moving fast - [Contributing](./CONTRIBUTING.md) - [Architecture Overview](./ARCHITECTURE_OVERVIEW.md) -- [Docs Site](https://celerityframework.io) +- [Docs Site](https://celerity.dev) Celerity lets you write your application code once and deploy it to any cloud provider — or on-premises — without modification. Your handlers and application logic stay the same whether you target AWS, Google Cloud, Azure, or a self-hosted environment; Celerity takes care of the mapping between your application and the underlying platform. diff --git a/apps/runtime/nodejs/README.md b/apps/runtime/nodejs/README.md index 5ce0e81c..a326e91a 100644 --- a/apps/runtime/nodejs/README.md +++ b/apps/runtime/nodejs/README.md @@ -3,7 +3,7 @@ The Node.js runtime is for applications where the handlers need to be written in Node.js. This runtime interfaces with handlers through bi-directional FFI calls where the handler set up code calls into the runtime to register the handler functions and the runtime calls into the Node.js handler functions when an event, message or request is received. -The runtime uses the [Node.js SDK for Celerity](https://celerityframework.io/docs/node-runtime) to host developer application code that uses the core rust runtime to handle events, messages and requests under the hood. +The runtime uses the [Node.js SDK for Celerity](https://celerity.dev/docs/node-runtime) to host developer application code that uses the core rust runtime to handle events, messages and requests under the hood. ## Additional documentation diff --git a/apps/runtime/python/README.md b/apps/runtime/python/README.md index a8b76d17..d64bed69 100644 --- a/apps/runtime/python/README.md +++ b/apps/runtime/python/README.md @@ -1,6 +1,6 @@ # Celerity Python Runtime -The Python runtime host for [Celerity](https://celerityframework.com) applications. +The Python runtime host for [Celerity](https://celerity.dev) applications. Bridges the Rust core runtime (via PyO3 FFI bindings) with Python application code using the `celerity-sdk` framework. diff --git a/libs/runtime/api-docs/workflow-api/README.md b/libs/runtime/api-docs/workflow-api/README.md index bf044548..8bac5b21 100644 --- a/libs/runtime/api-docs/workflow-api/README.md +++ b/libs/runtime/api-docs/workflow-api/README.md @@ -4,13 +4,13 @@ The Celerity Workflow API allows for triggering and monitoring the workflow alon ## Authentication -API calls to a workflow application must be authenticated with an [API key](https://celerityframework.io/docs/framework/auth/api-keys), [Celerity Signature v1](https://celerityframework.io/docs/framework/auth/signature-v1) or a [JWT access token issued by an OAuth2/OpenID connect provider](https://celerityframework.io/docs/framework/auth/jwts). +API calls to a workflow application must be authenticated with an [API key](https://celerity.dev/docs/framework/auth/api-keys), [Bluelink Signature v1](https://bluelink.dev/docs/bluelink/auth/signature-v1) or a [JWT access token issued by an OAuth2/OpenID connect provider](https://celerity.dev/docs/framework/auth/jwts). An OAuth2/OpenID Connect provider must publish a JWKS (JSON Web Key Set) for the public key used to verify the JWT signature in the `{issuer}/.well-known/openid-configuration` or `{issuer}/.well-known/oauth-authorization-server` endpoint. Public clients such as web applications running in a browser should **not** interact with the workflow API directly. -When you provision a new workflow application, the default behaviour is to issue an API key pair for the application that is used to authenticate API calls with the Celerity Signature v1. +When you provision a new workflow application, the default behaviour is to issue an API key pair for the application that is used to authenticate API calls with Bluelink Signature v1. ## API Specifications diff --git a/libs/runtime/api-docs/workflow-api/workflow-api-v1.yaml b/libs/runtime/api-docs/workflow-api/workflow-api-v1.yaml index 2e67d0b7..98fd2ebd 100644 --- a/libs/runtime/api-docs/workflow-api/workflow-api-v1.yaml +++ b/libs/runtime/api-docs/workflow-api/workflow-api-v1.yaml @@ -15,15 +15,15 @@ tags: parameters: CeleritySignatureHeader: - name: Celerity-Signature-V1 + name: Bluelink-Signature-V1 type: string in: header required: false description: | - A header containing a signature in the [Celerity Signature v1](https://celerityframework.com/docs/auth/signature-v1) format. + A header containing a signature in the [Bluelink Signature v1](https://bluelink.dev/docs/bluelink/auth/signature-v1) format. This is used to authenticate requests to Workflow API endpoints. This is required if an API key and a bearer token are not present and the Workflow application is configured to use signature auth. - example: 'keyId="test-key-id" headers="Celerity-Date X-Custom-Header" signature="{signature}"' + example: 'keyId="test-key-id", headers="bluelink-date x-custom-header", signature="{signature}"' paths: /run: diff --git a/libs/runtime/api-docs/workflow-api/workflow-stream-api-v1.yaml b/libs/runtime/api-docs/workflow-api/workflow-stream-api-v1.yaml index ac7a0037..f3acbe9e 100644 --- a/libs/runtime/api-docs/workflow-api/workflow-stream-api-v1.yaml +++ b/libs/runtime/api-docs/workflow-api/workflow-stream-api-v1.yaml @@ -17,7 +17,7 @@ servers: Workflow engine API server to stream workflow execution events from. The host specified in this server is nothing more than a placeholder, the actual base URL will be unique for each deployment of a Celerity workflow application. - In addition to the API Key and JWT Token security schemes defined for the server, the [Celerity Signature v1](https://www.celerityframework.com/docs/auth/signature-v1) authentication method is also supported for streaming workflow execution events, it is not listed in the security section as AsyncAPI lacks a way to document custom authentication methods. + In addition to the API Key and JWT Token security schemes defined for the server, the [Bluelink Signature v1](https://bluelink.dev/docs/bluelink/auth/signature-v1) authentication method is also supported for streaming workflow execution events, it is not listed in the security section as AsyncAPI lacks a way to document custom authentication methods. security: - $ref: '#/components/securitySchemes/api_key' - $ref: '#/components/securitySchemes/jwt_token' diff --git a/libs/runtime/helpers/src/websockets.rs b/libs/runtime/helpers/src/websockets.rs index 7f308ce6..d5071800 100644 --- a/libs/runtime/helpers/src/websockets.rs +++ b/libs/runtime/helpers/src/websockets.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; /// The parsed data from a binary message in the -/// [Celerity Binary Message Format](https://celerityframework.io/docs/framework/applications/resources/celerity-api#celerity-binary-message-format) +/// [Celerity Binary Message Format](https://celerity.dev/docs/framework/applications/resources/celerity-api#celerity-binary-message-format) /// used for WebSocket APIs. #[derive(Debug, PartialEq)] pub struct BinaryMessageData { @@ -71,7 +71,7 @@ pub enum BinaryMessageParseError { } /// Parses a binary message in the -/// [Celerity Binary Message Format](https://celerityframework.io/docs/framework/applications/resources/celerity-api#celerity-binary-message-format) +/// [Celerity Binary Message Format](https://celerity.dev/docs/framework/applications/resources/celerity-api#celerity-binary-message-format) /// used for WebSocket APIs. /// Empty payloads are allowed but all other fields are required. pub fn parse_binary_message( @@ -156,7 +156,7 @@ pub fn parse_binary_message( } /// The parts of a binary message to be framed in the -/// [Celerity Binary Message Format](https://celerityframework.io/docs/framework/applications/resources/celerity-api#celerity-binary-message-format). +/// [Celerity Binary Message Format](https://celerity.dev/docs/framework/applications/resources/celerity-api#celerity-binary-message-format). pub struct BinaryMessageParts<'a> { /// The route the message is for, which a client uses to hand it to the /// right handler. Reserved single byte routes are not built through here, @@ -179,7 +179,7 @@ pub enum BinaryMessageEncodeError { } /// Frames a binary message in the -/// [Celerity Binary Message Format](https://celerityframework.io/docs/framework/applications/resources/celerity-api#celerity-binary-message-format). +/// [Celerity Binary Message Format](https://celerity.dev/docs/framework/applications/resources/celerity-api#celerity-binary-message-format). /// /// The mirror of [`parse_binary_message`], and the reason a caller should not /// be laying out these bytes itself. Every field that cannot be represented is diff --git a/libs/runtime/helpers/tests/fixtures/binary-frame-vectors.json b/libs/runtime/helpers/tests/fixtures/binary-frame-vectors.json index a0c73574..576a2eed 100644 --- a/libs/runtime/helpers/tests/fixtures/binary-frame-vectors.json +++ b/libs/runtime/helpers/tests/fixtures/binary-frame-vectors.json @@ -1,7 +1,7 @@ { "$comment": [ "Conformance vectors for the Celerity Binary Message Format.", - "https://celerityframework.io/docs/framework/applications/resources/celerity-api#celerity-binary-message-format", + "https://celerity.dev/docs/framework/applications/resources/celerity-api#celerity-binary-message-format", "A published wire format has one implementation per language, so parity is asserted", "against these rather than assumed. Asserted by the TypeScript encoder in", "packages/types/tests/binary-frame.test.ts and by the Rust encoder that serves the", diff --git a/libs/runtime/proto/README.md b/libs/runtime/proto/README.md index 5de27320..84a5637b 100644 --- a/libs/runtime/proto/README.md +++ b/libs/runtime/proto/README.md @@ -82,7 +82,7 @@ The `.proto` is the authority on message shapes, field numbers and wire compatibility. What it cannot express is ordering, timing and obligation, and those are what an SDK author gets wrong. This section is the short form; the normative specification is the -[Handler IPC Protocol](https://celerityframework.io/docs/framework/runtime/handler-ipc-protocol) +[Handler IPC Protocol](https://celerity.dev/docs/framework/runtime/handler-ipc-protocol) document. An implementation must: diff --git a/libs/runtime/sdk/python/pyproject.toml b/libs/runtime/sdk/python/pyproject.toml index bbc788ec..5c5d36b4 100644 --- a/libs/runtime/sdk/python/pyproject.toml +++ b/libs/runtime/sdk/python/pyproject.toml @@ -20,9 +20,9 @@ classifiers = [ dynamic = ["version"] [project.urls] -Homepage = "https://celerityframework.io" +Homepage = "https://celerity.dev" Repository = "https://github.com/two-hundred/celerity" -Documentation = "https://www.celerityframework.io/docs/python-runtime/" +Documentation = "https://celerity.dev/docs/python-runtime/" [dependency-groups] dev = [ diff --git a/libs/runtime/signature/README.md b/libs/runtime/signature/README.md index a58713e9..70a0a220 100644 --- a/libs/runtime/signature/README.md +++ b/libs/runtime/signature/README.md @@ -2,11 +2,11 @@ [![codecov](https://codecov.io/gh/newstack-cloud/celerity/graph/badge.svg?token=u1SKOg58yo&flag=runtime-lib-signature)](https://codecov.io/gh/newstack-cloud/celerity) -This package provides helpers for creating and verifying Celerity signatures. +This package provides helpers for creating and verifying Bluelink signatures. This provides functionality for the following signature specs: -- [Celerity Signature v1](https://celerityframework.io/docs/framework/auth/signature-v1) +- [Bluelink Signature v1](https://bluelink.dev/docs/bluelink/auth/signature-v1) ## Additional documentation diff --git a/libs/runtime/signature/src/sigv1.rs b/libs/runtime/signature/src/sigv1.rs index b98d8b46..277287e0 100644 --- a/libs/runtime/signature/src/sigv1.rs +++ b/libs/runtime/signature/src/sigv1.rs @@ -21,7 +21,7 @@ pub const DATE_HEADER_NAME: &str = "Bluelink-Date"; pub const DEFAULT_CLOCK_SKEW: u64 = 300; /// Verify a signature header with -/// [Bluelink Signature v1](https://www.bluelink.dev/docs/auth/signature-v1). +/// [Bluelink Signature v1](https://bluelink.dev/docs/bluelink/auth/signature-v1). /// /// # Errors /// @@ -89,7 +89,7 @@ pub fn verify_signature( } /// Creates a signature header value to be attached to a request -/// for [Bluelink Signature v1](https://www.bluelink.dev/docs/auth/signature-v1). +/// for [Bluelink Signature v1](https://bluelink.dev/docs/bluelink/auth/signature-v1). /// This function will return the value of the signature header that should be /// set in the "Bluelink-Signature-V1" header of the request. /// diff --git a/libs/runtime/workflow/README.md b/libs/runtime/workflow/README.md index 04d8432f..1688d1fc 100644 --- a/libs/runtime/workflow/README.md +++ b/libs/runtime/workflow/README.md @@ -3,7 +3,7 @@ [![codecov](https://codecov.io/gh/newstack-cloud/celerity/graph/badge.svg?token=u1SKOg58yo&flag=runtime-lib-workflow)](https://codecov.io/gh/newstack-cloud/celerity) This package provides the workflow engine components designed to be used in the Celerity workflow runtime. -This crate provides a HTTP server application for the workflow engine that implements the specification defined in the [Celerity Workflow Specification](https://celerityframework.io/docs/framework/applications/resources/celerity-workflow). +This crate provides a HTTP server application for the workflow engine that implements the specification defined in the [Celerity Workflow Specification](https://celerity.dev/docs/framework/applications/resources/celerity-workflow). This package creates an executable workflow from a blueprint file and a set of handlers. This also provides an API for the registration of handlers. diff --git a/libs/runtime/workflow/src/template_functions_v1.rs b/libs/runtime/workflow/src/template_functions_v1.rs index 316098a1..8f646e36 100644 --- a/libs/runtime/workflow/src/template_functions_v1.rs +++ b/libs/runtime/workflow/src/template_functions_v1.rs @@ -39,7 +39,7 @@ impl fmt::Display for FunctionCallError { /// The use of `{}` in the format string will be replaced by the arguments /// in the order they are provided. /// -/// See [format function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#format). +/// See [format function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#format). pub fn format(args: Vec) -> Result { if args.is_empty() { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -93,7 +93,7 @@ pub fn format(args: Vec) -> Result { /// /// This function decodes a JSON string into an object, array or scalar value. /// -/// See [jsondecode function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#jsondecode). +/// See [jsondecode function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#jsondecode). pub fn jsondecode(args: Vec) -> Result { if args.len() != 1 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -122,7 +122,7 @@ pub fn jsondecode(args: Vec) -> Result { /// /// This function encodes a value into a JSON string. /// -/// See [jsonencode function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#jsonencode). +/// See [jsonencode function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#jsonencode). pub fn jsonencode(args: Vec) -> Result { if args.len() != 1 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -142,7 +142,7 @@ pub fn jsonencode(args: Vec) -> Result { /// /// This function merges two JSON objects into a single JSON object. /// -/// See [jsonmerge function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#jsonmerge). +/// See [jsonmerge function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#jsonmerge). pub fn jsonmerge(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -167,7 +167,7 @@ pub fn jsonmerge(args: Vec) -> Result { /// /// This function base64 encodes a string. /// -/// See [b64encode function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#b64encode). +/// See [b64encode function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#b64encode). pub fn b64encode(args: Vec) -> Result { if args.len() != 1 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -191,7 +191,7 @@ pub fn b64encode(args: Vec) -> Result { /// /// This function base64 decodes a string. /// -/// See [b64decode function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#b64decode). +/// See [b64decode function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#b64decode). pub fn b64decode(args: Vec) -> Result { if args.len() != 1 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -229,7 +229,7 @@ pub fn b64decode(args: Vec) -> Result { /// MD5 and SHA1 were considered in the original design but were not included /// due to the insecurity of these algorithms. /// -/// See [hash function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#hash). +/// See [hash function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#hash). pub fn hash(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -286,7 +286,7 @@ pub fn hash(args: Vec) -> Result { /// /// This function creates a list from a set of positional arguments. /// -/// See [list function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#list). +/// See [list function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#list). pub fn list(args: Vec) -> Result { Ok(Value::Array(args)) } @@ -295,7 +295,7 @@ pub fn list(args: Vec) -> Result { /// /// This function splits a list into chunks of a specified size. /// -/// See [chunk list function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#chunk_list). +/// See [chunk list function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#chunk_list). pub fn chunk_list(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -334,7 +334,7 @@ pub fn chunk_list(args: Vec) -> Result { /// /// This function returns an element from a list at a specific index. /// -/// See [list element function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#list_elem). +/// See [list element function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#list_elem). pub fn list_elem(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -377,7 +377,7 @@ pub fn list_elem(args: Vec) -> Result { /// The functoin will carry out deep equality checks for objects and arrays, /// performance may be significantly implacted when working with large and complex structures. /// -/// See [remove duplicates function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#remove_duplicates). +/// See [remove duplicates function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#remove_duplicates). pub fn remove_duplicates(args: Vec) -> Result { if args.len() != 1 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -409,7 +409,7 @@ pub fn remove_duplicates(args: Vec) -> Result { /// This function checks if a value is present in a list or a substring is present in a string. /// This will carry out deep equality checks for objects and arrays. /// -/// See [contains function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#contains). +/// See [contains function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#contains). pub fn contains(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -445,7 +445,7 @@ pub fn contains(args: Vec) -> Result { /// /// This function splits a string into an array of substrings based on a delimiter. /// -/// See [split function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#split). +/// See [split function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#split). pub fn split(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -485,7 +485,7 @@ pub fn split(args: Vec) -> Result { /// This function generates a random number between a minimum and maximum value. /// The random number generated is an integer and the provided parameters must be integers. /// -/// See [math rand function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#math_rand). +/// See [math rand function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#math_rand). pub fn math_rand(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -526,7 +526,7 @@ pub fn math_rand(args: Vec) -> Result { /// /// This function will add two numbers together. /// -/// See [math add function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#math_add). +/// See [math add function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#math_add). pub fn math_add(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -561,7 +561,7 @@ pub fn math_add(args: Vec) -> Result { /// /// This function will subtract the second number from the first. /// -/// See [math subtract function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#math_sub). +/// See [math subtract function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#math_sub). pub fn math_sub(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -596,7 +596,7 @@ pub fn math_sub(args: Vec) -> Result { /// /// This function will multiply two numbers together. /// -/// See [math mult function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#math_mult). +/// See [math mult function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#math_mult). pub fn math_mult(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -631,7 +631,7 @@ pub fn math_mult(args: Vec) -> Result { /// /// This function will divide a number by another. /// -/// See [math div function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#math_div). +/// See [math div function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#math_div). pub fn math_div(args: Vec) -> Result { if args.len() != 2 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -672,7 +672,7 @@ pub fn math_div(args: Vec) -> Result { /// /// This function will return the length of a string or an array. /// -/// See [len function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#len). +/// See [len function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#len). pub fn len(args: Vec) -> Result { if args.len() != 1 { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -694,7 +694,7 @@ pub fn len(args: Vec) -> Result { /// /// This function generates a random UUID as per the UUID version 4 specification. /// -/// See [uuid function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#uuid). +/// See [uuid function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#uuid). pub fn uuid(args: Vec) -> Result { if !args.is_empty() { return Err(FunctionCallError::IncorrectNumberOfArguments( @@ -710,7 +710,7 @@ pub fn uuid(args: Vec) -> Result { /// This function provides a way to generate an ID that is shorter than a UUID /// while maintaining a low probability of collisions. /// -/// See [nanoid function definition](https://celerityframework.com/docs/applications/resources/celerity-workflow#nanoid). +/// See [nanoid function definition](https://celerity.dev/docs/framework/applications/resources/celerity-workflow#nanoid). pub fn nanoid(args: Vec) -> Result { if !args.is_empty() { return Err(FunctionCallError::IncorrectNumberOfArguments( diff --git a/libs/runtime/ws/ws-registry/src/message_helpers.rs b/libs/runtime/ws/ws-registry/src/message_helpers.rs index 717cbdfa..958650bc 100644 --- a/libs/runtime/ws/ws-registry/src/message_helpers.rs +++ b/libs/runtime/ws/ws-registry/src/message_helpers.rs @@ -7,7 +7,7 @@ use crate::{errors::WebSocketConnError, types::MessageType}; /// Creates a message lost event to be sent to a WebSocket connection. /// This follows the Celerity Binary Message Format documented here: -/// https://celerityframework.io/docs/framework/applications/resources/celerity-api#celerity-binary-message-format +/// https://celerity.dev/docs/framework/applications/resources/celerity-api#celerity-binary-message-format pub fn create_message_lost_event(message_id: String, caller: Option) -> Vec { let payload = json!({ "messageId": message_id,