Skip to main content

mergeDeploymentUnits

@webda/core


Function: mergeDeploymentUnits()

mergeDeploymentUnits(configuration, units): void

Defined in: packages/core/src/application/deployment.ts:150

Add deployment units to the configuration services

Parameters​

configuration​

Configuration

the configuration to update in place

units​

Record<string, any>

services configuration from getDeploymentUnitServices

Returns​

void

Throws​

CodeError DEPLOYMENT_UNIT_CONFLICT if a unit has the name of an application service