diff options
author | 2020-09-11 14:28:32 +0100 | |
---|---|---|
committer | 2020-09-11 14:37:24 +0100 | |
commit | 9a9127b65920580de8b4a69479a9983481c8faf8 (patch) | |
tree | 35c6449e4850b661f86a639a33684e079beb836d /gui-editors/gui-editor-apex/src/main/resources/templates/ApexToscaPolicyTemplate.yaml | |
parent | afcf92da0d813028b48ea781df33148bc6f000b6 (diff) |
Add TOSCA support to Apex editor
The APEX editor now loads, saves, and downloads files in TOSCA format,
the same as the apex-pdp does.
The non-standard TOSCA handling for file upload has been refactored to
be aligned with the Policy Frameowkr TOSCA support.
Issue-ID: POLICY-2621
Change-Id: I1ec7475cbcc6ffc23de92687c9f284ac7dfbdd80
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'gui-editors/gui-editor-apex/src/main/resources/templates/ApexToscaPolicyTemplate.yaml')
-rw-r--r-- | gui-editors/gui-editor-apex/src/main/resources/templates/ApexToscaPolicyTemplate.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/resources/templates/ApexToscaPolicyTemplate.yaml b/gui-editors/gui-editor-apex/src/main/resources/templates/ApexToscaPolicyTemplate.yaml new file mode 100644 index 0000000..bcaf601 --- /dev/null +++ b/gui-editors/gui-editor-apex/src/main/resources/templates/ApexToscaPolicyTemplate.yaml @@ -0,0 +1,17 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +topology_template: + policies: + - onap.policies.native.apex.Template: + type: onap.policies.native.Apex + type_version: 1.0.0 + properties: + engineServiceParameters: + name: TemplateApexEngine + version: 0.0.1 + id: 1 + instanceCount: 1 + deploymentPort: 12561 + engineParameters: + executorParameters: + contextParameters: + policy_type_impl: |