Service Commissioning Files

Service commissioning files are the foundation for defining and implementing services in Connectware. These files use YAML format to describe all the resources, configurations, and relationships that make up a service.

A service commissioning file serves as a blueprint for a service, detailing:

  1. The resources required by the service (e.g., users, connections, containers)

  2. Configuration parameters for each resource

  3. Relationships and dependencies between resources

When you enable a service in Connectware, the system reads the service commissioning file and automatically sets up all specified resources according to the defined parameters.

Structure of Service Commissioning Files

Service commissioning files define how services are configured and deployed within your infrastructure. These files follow a structured format that enables you to specify all necessary components and their relationships for your service implementation.

A service commissioning file consists of several main sections that serve distinct purposes in service configuration. These include version information, service descriptions, metadata for service identification, parameters for configuration, resource definitions, and the actual resources that make up your service.

The resources section is particularly important as it contains various Cybus-specific resource types that handle different aspects of your service:

  • Connections establish data source and target interfaces

  • Endpoints define specific connection points

  • Mappings configure data transformations

  • Containers specify runtime environments

  • Links establish relationships between resources

  • And several other specialized resources for managing users, roles, volumes, and more

Understanding the structure and proper usage of these components is essential for creating effective and maintainable service configurations in Connectware. The following sections provide detailed information about each component and how they work together to create a complete service definition.

Example

Service commissioning files in Connectware follow a standardized YAML structure with several distinct sections. At the core of each service commissioning file are the following components:

---
version: 'version number'

description: >
    "string"

metadata: 'commissioning file metadata'

parameters: 'set of parameters'

definitions: 'set of definitions for internal use'

resources: 'set of resources'

Each section serves a specific purpose in defining your service configuration:

  • The version field specifies the commissioning file format version

  • The description section provides details about the service's purpose and functionality

  • metadata contains identification and classification information

  • parameters defines configurable values used throughout the service

  • definitions holds reusable elements for internal reference

  • The resources section defines the actual service elements and their configurations

The following chapters will explain each section in detail.

Last updated

Was this helpful?