diff options
author | Singal, Kapil (ks220y) <ks220y@att.com> | 2023-05-08 09:10:58 -0400 |
---|---|---|
committer | Singal, Kapil (ks220y) <ks220y@att.com> | 2023-05-08 09:11:02 -0400 |
commit | a6b88f76a51016825c1f8352db56924ededee341 (patch) | |
tree | e189e87749825f57c4d5317dff63a821e224c72a /components | |
parent | 2f4cc180555b1891fb749443449bd969db408d9c (diff) |
Enhancing BluePrintJinjaTemplateServicekohn
* Using CustomJinjavaInterpreter to override getAsString API, and returning context.currentNode.master.image instead of empty string
* Earlier rendered result was not keeping unresolved variable rather replacing with empty string, and above helps keeping those.
* Upgrading jinja.version to 2.7.0 from 2.5.1 and adding related Junit Test
Issue-ID: CCSDK-3895
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I00da64811883957f44f819a44405e073ed7a7755
Diffstat (limited to 'components')
-rw-r--r-- | components/model-catalog/blueprint-model/archetype-blueprint/src/main/resources/archetype-resources/Tests/kotlin/default-variable-value-data.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/model-catalog/blueprint-model/archetype-blueprint/src/main/resources/archetype-resources/Tests/kotlin/default-variable-value-data.txt b/components/model-catalog/blueprint-model/archetype-blueprint/src/main/resources/archetype-resources/Tests/kotlin/default-variable-value-data.txt index f2359e863..c16bedb0b 100644 --- a/components/model-catalog/blueprint-model/archetype-blueprint/src/main/resources/archetype-resources/Tests/kotlin/default-variable-value-data.txt +++ b/components/model-catalog/blueprint-model/archetype-blueprint/src/main/resources/archetype-resources/Tests/kotlin/default-variable-value-data.txt @@ -1,2 +1,2 @@ -sample-hostname -${node0_backup_router_address}
\ No newline at end of file +sample-node0_hostname +${node0_backup_router_address} |