summaryrefslogtreecommitdiffstats
path: root/main/src/test/resources
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2022-02-28 16:55:31 +0000
committerAjith Sreekumar <ajith.sreekumar@bell.ca>2022-03-01 16:01:04 +0000
commit06cd50a60832b5c7b23181145b035472bfff1ebe (patch)
treede5ea3f217192b6f6c218d9d341ca394920e2e22 /main/src/test/resources
parent11234c358bf65b7700c73d8bbad66b335b0dd3c6 (diff)
Add spring repository and service layer for tosca node templates
Removed policy, policyType providers along with models provider configurations. Issue-ID: POLICY-3923 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I696be6380758dbcc5b53cef635f3065eb0ce9a70
Diffstat (limited to 'main/src/test/resources')
-rw-r--r--main/src/test/resources/application-test.yaml9
-rw-r--r--main/src/test/resources/nodetemplates/dummy.apex.decisionmaker.policy.yaml14
-rw-r--r--main/src/test/resources/nodetemplates/nodetemplates.metadatasets.update.json2
3 files changed, 15 insertions, 10 deletions
diff --git a/main/src/test/resources/application-test.yaml b/main/src/test/resources/application-test.yaml
index 6ed69ea0..f47873b7 100644
--- a/main/src/test/resources/application-test.yaml
+++ b/main/src/test/resources/application-test.yaml
@@ -11,12 +11,3 @@ spring:
naming:
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
-
-database:
- name: PolicyProviderParameterGroup
- implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
- driver: org.h2.Driver
- url: jdbc:h2:mem:testdb
- user: policy_user
- password: policy_user
- persistenceUnit: ToscaConceptTest \ No newline at end of file
diff --git a/main/src/test/resources/nodetemplates/dummy.apex.decisionmaker.policy.yaml b/main/src/test/resources/nodetemplates/dummy.apex.decisionmaker.policy.yaml
new file mode 100644
index 00000000..c2e96b55
--- /dev/null
+++ b/main/src/test/resources/nodetemplates/dummy.apex.decisionmaker.policy.yaml
@@ -0,0 +1,14 @@
+---
+# Representation of apex decision maker policy with metadataSet reference in the metadata field.
+
+tosca_definitions_version: tosca_simple_yaml_1_1_0
+topology_template:
+ policies:
+ - operational.apex.decisionMaker:
+ type: onap.policies.Test
+ type_version: 1.0.0
+ name: operational.apex.decisionMaker
+ version: 1.0.0
+ metadata:
+ metadataSetName: apexMetadata_decisionMaker
+ metadataSetVersion: 1.0.0 \ No newline at end of file
diff --git a/main/src/test/resources/nodetemplates/nodetemplates.metadatasets.update.json b/main/src/test/resources/nodetemplates/nodetemplates.metadatasets.update.json
index 767f1fb1..c6aa65b3 100644
--- a/main/src/test/resources/nodetemplates/nodetemplates.metadatasets.update.json
+++ b/main/src/test/resources/nodetemplates/nodetemplates.metadatasets.update.json
@@ -13,7 +13,7 @@
"version": "1.0.0",
"type": "org.onap.nodetypes.policy.MetadataSet",
"type_version": "1.0.0",
- "description": "Metadata set for GRPC",
+ "description": "Updated Metadata set for GRPC",
"metadata": {
"policyModel": {
"key": {