Framework
Implementations
The AMRC Connectivity Stack, the open-source reference implementation of Factory+, and the component behind each framework function.
The AMRC Connectivity Stack (ACS) is the open-source reference implementation of Factory+.
A framework is only useful when software implements it, and an organisation adopting Factory+ needs working services before it can connect its first machine. The AMRC publishes ACS so that anyone can deploy a complete Factory+ system and implementers of a single function have working code to compare against.
The AMRC Connectivity Stack
ACS is a collection of open-source services that together implement every function on the Architecture page. It is published on GitHub under the MIT licence.
ACS runs on Kubernetes and is distributed as Helm charts. A central Kubernetes cluster runs the central services. The machines on the shop floor that run Edge Agents form one or more separate edge clusters, and the central cluster manages them.
Keeping the clusters separate lets the central cluster run on a managed or cloud Kubernetes service while the edge clusters use a Kubernetes distribution suited to small edge devices. The separation also limits the damage if someone gains physical access to a machine on the shop floor.
These are ACS choices. The framework does not require Kubernetes, Helm or separate edge clusters, and another implementation can provide the same functions on any platform.
Framework functions in ACS
Every framework function maps to one or more ACS components. Each component is a directory in the ACS monorepo, apart from the schema library in its own repository.
| Framework function | ACS component | Notes |
|---|---|---|
| Identity | acs-identity, acs-krb-keys-operator, acs-keycloak, acs-keycloak-spi | acs-identity is the Kerberos key distribution centre. The operator creates and manages the Kerberos credentials of services through the Kubernetes API. Keycloak is the OpenID Connect provider for sign-in from browsers and third-party tools, with a plugin that reads users from the Auth service. |
| Auth | acs-auth | |
| Directory | acs-directory | Service URLs are generated by the Helm chart and loaded into the Directory when ACS is installed or upgraded. |
| Configuration Store | acs-configdb | ACS calls this service the ConfigDB. |
| Command Escalation | acs-cmdesc | |
| MQTT broker | acs-mqtt | HiveMQ with a Factory+ plugin for authentication and topic permissions. |
| Historian | acs-ingest | Runs a Sparkplug historian and a UNS historian, both writing to InfluxDB. |
| UNS ingester | acs-ingest | The UNS ingester runs in the same application as the historians. |
| ISA-95 placement | acs-configdb, acs-placement-watcher | The vocabulary and placements are ConfigDB entries. The placement watcher copies each device’s placement into its Edge Agent configuration. |
| Engineering units | acs-service-setup | Loads the units vocabulary into the ConfigDB. |
| Schemas | acs-schemas | The schema library is a separate repository, loaded into the ConfigDB when ACS is installed or upgraded. |
| Edge Agent | acs-edge | |
| Drivers | edge-* directories, lib/js-edge-driver, lib/py-edge-driver, lib/rs-edge-driver | Each protocol driver has its own edge-* directory, for example edge-modbus and edge-opcua. The libraries help third parties write drivers in JavaScript, Python and Rust. |
| Files | acs-files | |
| Data Access | acs-data-access | |
| i3X | acs-i3x | |
| Service specification | lib/js-service-api, lib/js-service-client, lib/py-service-client, lib/java-service-client, lib/ex-service-client | js-service-api implements the server side of the specification, including authentication, /ping, /token and change notification. The client libraries handle discovery, authentication and calls to each service in JavaScript, Python, Java and Elixir. |
Components specific to ACS
ACS also contains components that the framework does not define. Most of them deploy and manage the edge clusters. The framework leaves edge cluster management to each implementation.
- Admin UI (
acs-admin) is the web console for managing devices, Edge Agents, permissions and the rest of ACS. - Cluster Manager (
acs-cluster-manager) creates edge clusters and passes secrets to them. - Git server (
acs-git) holds the repositories that edge clusters deploy from. - Flux deploys software to each edge cluster from those repositories.
- Sealed Secrets carries encrypted secrets to the edge clusters.
- Edge Sync (
acs-edge-sync) reports the state of each edge cluster back to the central services. - Monitors (
acs-monitor) watch Edge Agents at the edge and edge clusters from the centre. - Gateway Depot (
acs-gateway-depot) prepares a blank computer as a cell gateway. - Briefcase (
acs-briefcase) packages datasets for sharing outside Factory+. - User Admin (
acs-user-admin) creates a human user’s Kerberos principal and Factory+ objects in one step. - Visualiser (
acs-visualiser) displays live MQTT traffic. - Service setup (
acs-service-setup) loads the well-known objects, permissions and service registrations when ACS is installed or upgraded. - Grafana displays historical data, and InfluxDB stores it.
Source code and documentation
The ACS source code, documentation and release notes are on GitHub. Installation, configuration and operation are covered there rather than on this site.
- ACS repository
- ACS documentation, including installation, edge cluster management and development guides
- ACS releases, with the release notes for each version
- ACS schema library