Skip to main content

getDeploymentUnitServices

@webda/core


Function: getDeploymentUnitServices()

getDeploymentUnitServices(deployment, completeNamespace?): Record<string, any>

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

Compute the services configuration of the deployment units

Each unit is merged over the deployment resources, its name becomes the service name and its type is completed with the namespace.

Parameters​

deployment​

Deployment

the deployment definition

completeNamespace?​

(type) => string

complete a type with the application namespace

Returns​

Record<string, any>

services configuration keyed by unit name