command
module
Version:
v1.0.6
Opens a new window with list of versions in this module.
Published: Jul 14, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Configuration
| config.json |
env |
desc |
| server_port |
SERVER_PORT |
port of wrapper api |
| zookeeper_url |
ZOOKEEPER_URL |
url to zookeeper |
| kafka_group |
KAFKA_GROUP |
used kafka consumer group |
| deployment_topic |
DEPLOYMENT_TOPIC |
kafka topic of deployments |
| incident_topic |
INCIDENT_TOPIC |
kafka topic of incidents |
| wrapper_db |
WRAPPER_DB |
connection string to postgres database to store virtual ids (e.g. postgres://usr:pw@databasip:5432/shards?sslmode=disable) |
| sharding_db |
SHARDING_DB |
connection string to postgres database to store sharding information (e.g. postgres://usr:pw@databasip:5432/shards?sslmode=disable) |
| debug |
DEBUG |
more logs |
Wrapper
to run the api wrapper normally, call the program without any additional flags
./camunda-engine-wrapper
Scripts in BPMN Processes
the wrapper will prefix every script received with var java = {}; var execution = {}; to prevent insecure access.
New Shard
- ensure that the config-variable
sharding_db is set (env or json)
- call
./addshard http://shard-url:8080
Vid Consistence Cleanup
- use the cleanup executable to find and remove unlinked vid and processes
- sub commands are
- list-unlinked-vid: lists unlinked vid
- list-unlinked-pid: lists unlinked processes
- remove-vid: removes given vid
- remove-pid: removes given processes
- all config variables (except
ServerPort and LogLevel ar used)
./cleanup remove-vid $(./cleanup list-unlinked-vid)
Docker
- env variables can be passed with the
-e flag
- program-flags can be passed at the end of the docker run command
docker build -t enginewrapper .
docker run -e PG_CONN=postgres://usr:pw@databasip:5432/shards?sslmode=disable enginewrapper -migrate_shard=http://new_shard_url:8080
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
cmd
|
|
|
|
|
|
|
|
|
|
|
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
Package etree provides XML services through an Element Tree abstraction.
|
Package etree provides XML services through an Element Tree abstraction. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.