@villedemontreal/workit-bpm-client
Version:
Camunda BPM client for WorkIt that works with Camunda platform powered by TypeScript
22 lines • 822 B
JavaScript
/*
* Copyright (c) 2025 Ville de Montreal. All rights reserved.
* Licensed under the MIT license.
* See LICENSE file in the project root for full license information.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const workit_core_1 = require("@villedemontreal/workit-core");
const identifiers_1 = require("./constants/identifiers");
const configBase = {
workerId: 'demo',
baseUrl: `__undefined__`,
topicName: 'topic_demo',
};
const bpmnPlatformClientConfig = {
...configBase,
baseUrl: process.env.CAMUNDA_BPM_ADDRESS || `http://localhost:8080/engine-rest`,
maxTasks: 32,
autoPoll: false,
};
workit_core_1.kernel.bind(identifiers_1.SERVICE_IDENTIFIER.camunda_external_config).toConstantValue(bpmnPlatformClientConfig);
//# sourceMappingURL=container.js.map
;