Domain configuration
Operations
Dynamic configuration values

ConfigSource

Some configuration parameters for operations are dynamic. This means a parameter is not evaluated at the time DomainGraph is built but at runtime, when a client request is executed. This is expressed as an ConfigSource.

These are the possible ways to express dynamic configuration

ConfigSourceDescription
Static valuethe value is actually not dynamic and behaves as any other static configuration value
FEEL expressionthe value is evaluated by FEEL expression
Decision Tablethe value is evaluated via a Decision Table
Decision Table Referencethe value is evaluated via a Decision Table that is defined in the DomainConfiguration
Callbackthe value is evaluated by calling a function

static value

This is not really a dynamic configuration but obviously any time a configuration value is evaluated you can simply state the value itself.

no such spec file: '../foundation/test/operation-config-source/static-value.spec.ts'
no such spec file: '../foundation/test/operation-config-source/static-value.spec.ts'
no such spec file: '../foundation/test/operation-config-source/static-value.spec.ts'

FEEL expression

You can add a FEEL expression to evaluate the config value.

no such spec file: '../foundation/test/operation-config-source/feel-expression.spec.ts'
no such spec file: '../foundation/test/operation-config-source/feel-expression.spec.ts'

Blank dispositions

no such spec file: '../foundation/test/operation-config-source/feel-expression.spec.ts'

Porsche dispositions

no such spec file: '../foundation/test/operation-config-source/feel-expression.spec.ts'

Decision table

You can add a Decision Table configuration to evaluate the config value.

no such spec file: '../foundation/test/operation-config-source/decision-table.spec.ts'
no such spec file: '../foundation/test/operation-config-source/decision-table.spec.ts'

Blank dispositions

no such spec file: '../foundation/test/operation-config-source/decision-table.spec.ts'

Porsche dispositions

no such spec file: '../foundation/test/operation-config-source/decision-table.spec.ts'

Decision Table Reference

You can add a reference to a Decision Table from the DomainGraph.

no such spec file: '../foundation/test/operation-config-source/dt-ref.spec.ts'
no such spec file: '../foundation/test/operation-config-source/dt-ref.spec.ts'

Blank dispositions

no such spec file: '../foundation/test/operation-config-source/dt-ref.spec.ts'

Porsche dispositions

no such spec file: '../foundation/test/operation-config-source/dt-ref.spec.ts'