aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import
diff options
context:
space:
mode:
authorrajendrajaiswal <rajendra.jaiswal@ericsson.com>2019-06-28 14:59:43 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-07-07 06:58:18 +0000
commit868746d27adc90efeba5909d3eb60a6e0cd24c27 (patch)
tree032bf3744462142beabd32fd595b0fe07263a91c /catalog-be/src/main/resources/import
parent9eb80fdf47fb9be19e6238e223a3e43c402aa3f5 (diff)
PM-Mapper Policy Model support
Change-Id: I3603c4a5b05b0dc528b0dd57eabea8947f9e8fbb Issue-ID: SDC-2104 Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
Diffstat (limited to 'catalog-be/src/main/resources/import')
-rw-r--r--catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml9
-rw-r--r--catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json4
-rw-r--r--catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml12
3 files changed, 25 insertions, 0 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
index 85591fa2bf..0514799902 100644
--- a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
@@ -2259,6 +2259,15 @@ tosca.datatypes.nfv.SwImageData:
entry_schema:
type: string
+### Data types used by Policy PM Mapper for closed loop ###
+
+onap.datatypes.monitoring.pm-mapper-filter:
+ derived_from: tosca.datatypes.Root
+ properties:
+ filter_configuration:
+ type: string
+ description: Filter configuration needs to be applied
+
### Data types used by Policy TCA model for closed loop ###
onap.datatypes.monitoring.metricsPerEventName:
diff --git a/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json
index 6885e5076c..e483e36bef 100644
--- a/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json
+++ b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json
@@ -55,6 +55,10 @@
"displayName": "TCA",
"icon": "policy-tca"
},
+ "onap.policy.monitoring.dcae-pm-mapper": {
+ "displayName": "PM Mapper",
+ "icon": "policy-dcae-pm-mapper"
+ },
"tosca.policies.nfv.InstantiationLevels": {
"displayName": "NFV InstantiationLevels",
"icon": "policy-nfv-instantiationlevels"
diff --git a/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml
index 4cc9031eed..b6f158fc06 100644
--- a/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml
@@ -130,6 +130,18 @@ onap.policies.monitoring.cdap.tca.hi.lo.app:
entry_schema:
type: onap.datatypes.monitoring.tca_policy
+## PM Mapper policies for closed loop ##
+
+onap.policy.monitoring.dcae-pm-mapper:
+ derived_from: onap.policies.Monitoring
+ version : 1.0.0
+ properties:
+ pm-mapper-filter:
+ type: map
+ description: PM mapper filter on measInfo, measInfoId, measType, instanceId
+ entry_schema:
+ type: onap.datatypes.monitoring.pm-mapper-filter
+
## NFV policies ##
tosca.policies.nfv.InstantiationLevels:
derived_from: tosca.policies.Root