PoCAT Documentation Get Started

Environment-specific Configs

Service definition stays in the service directory. Environment values live in the node deploy and message-bus context.

Last updated: 2026-05-27 Section: Configuration

The goal is one binary, per-environment overrides—trackable by diff without code branches.

Recommended directory layout

services/<service>/service.xml
services/<service>/libs/<service>.jar
config/services/<node>.xml
config/services/<node>/deploy/<service>.xml
contexts/messagebus/connections/rabbit01.xml
contexts/messagebus/endpoints/group1/endpoint1.xml
contexts/messagebus/endpoints/group1/error.xml

Required separation

  • Connection host, port, and credentials in contexts/messagebus/connections
  • Init-param values in the deploy file, overriding service.xml defaults
  • Resource type and properties in the deploy file
  • Dead-letter destination on the error endpoint

Release checklist

CheckCriteria
Secrets in repo0
Environment diff approval2+ reviewers
Rollback artifactKeep prior revision