Add Jinja2 custom ResourceLocator 32/90132/8
authorAlexis de Talhouët <adetalhouet89@gmail.com>
Tue, 18 Jun 2019 23:43:50 +0000 (19:43 -0400)
committerAlexis de Talhouët <adetalhouet89@gmail.com>
Fri, 21 Jun 2019 01:10:53 +0000 (01:10 +0000)
commit7ad72c86fbd10888a849eed2b00dc9fddadef5aa
tree28ea065a77e3ce60b14603b86748aeed87f9d80b
parent091bba704d8e9137b9bca9ed02d139539aa2ac53
Add Jinja2 custom ResourceLocator

This will allow to include template within template to create
template hierarchy

Change-Id: I21c5deaf51d391e1a51b9863a905c26b1891db16
Issue-ID: CCSDK-1417
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
12 files changed:
ms/blueprintsprocessor/functions/cli-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/cli/executor/CliComponentFunction.kt
ms/blueprintsprocessor/functions/cli-executor/src/main/kotlin/scripts/InternalSimpleCli.cba.kts
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/ResourceResolutionService.kt
ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/interfaces/BlueprintTemplateService.kt
ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/service/BluePrintJinjaTemplateService.kt
ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/service/BlueprintTemplateService.kt
ms/controllerblueprints/modules/blueprint-core/src/test/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/service/BluePrintTemplateServiceTest.kt
ms/controllerblueprints/modules/blueprint-core/src/test/resources/templates/base-config-data-jinja.json
ms/controllerblueprints/modules/blueprint-core/src/test/resources/templates/base-config-jinja-template.jinja [deleted file]
ms/controllerblueprints/modules/blueprint-core/src/test/resources/templates/interface.jinja [new file with mode: 0755]
ms/controllerblueprints/modules/blueprint-core/src/test/resources/templates/isis.jinja [new file with mode: 0644]
ms/controllerblueprints/modules/blueprint-core/src/test/resources/templates/master.jinja [new file with mode: 0644]