summaryrefslogtreecommitdiffstats
path: root/examples/examples-decisionmaker/src/main/resources/tosca
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2020-09-02 17:19:26 +0100
committera.sreekumar <ajith.sreekumar@bell.ca>2020-09-09 10:18:02 +0100
commit4c5c31eb9a2513af080d60d0f537b8339856150d (patch)
tree79aaf0d50cc261f57ce77f2eeae927c3c264478f /examples/examples-decisionmaker/src/main/resources/tosca
parentd350fd659d716ca0b1678029230cc799cead2056 (diff)
APEX standalone support for ToscaPolicy format
Legacy format support is removed, and Tosca format support is added. Change-Id: I3cfc181ccb5471a5d224c0162af18c1fa0fdbc70 Issue-ID: POLICY-2812 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'examples/examples-decisionmaker/src/main/resources/tosca')
-rw-r--r--examples/examples-decisionmaker/src/main/resources/tosca/ToscaTemplate.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/examples-decisionmaker/src/main/resources/tosca/ToscaTemplate.json b/examples/examples-decisionmaker/src/main/resources/tosca/ToscaTemplate.json
new file mode 100644
index 000000000..c9e11d49b
--- /dev/null
+++ b/examples/examples-decisionmaker/src/main/resources/tosca/ToscaTemplate.json
@@ -0,0 +1,17 @@
+{
+ "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
+ "topology_template": {
+ "policies": [
+ {
+ "onap.policies.native.apex.DecisionMaker": {
+ "type": "onap.policies.native.Apex",
+ "type_version": "1.0.0",
+ "name": "onap.policies.native.apex.DecisionMaker",
+ "version": "1.0.0",
+ "properties": {
+ }
+ }
+ }
+ ]
+ }
+}