hamlet-io / executor-bash

Executor for hamlet based on bash
GNU General Public License v3.0
0 stars 4 forks source link

fix: three level context properties #327

Closed ml019 closed 2 years ago

ml019 commented 2 years ago

Intent of Change

Description

Enhance the routine used to determine what level of property override should apply to handle three levels. While re-ordering its parameters would make them more logical, add support for the extra level to the end to minimise the scope of the change.

Configure the account mapping logic to use this new capability.

Motivation and Context

Fixes https://github.com/hamlet-io/engine/issues/1992

Account mappings can have up to three levels of override - PRODUCT, ENVIRONMENT, SEGMENT. The current logic doesn't correctly support all combinations.

How Has This Been Tested?

Related Changes

Prerequisite PRs:

Dependent PRs:

Consumer Actions: