aboutsummaryrefslogtreecommitdiffstats
path: root/feature-lifecycle/src
diff options
context:
space:
mode:
Diffstat (limited to 'feature-lifecycle/src')
-rw-r--r--feature-lifecycle/src/main/resources/schemas/onap.policies.drools.Controller-1.0.0.schema.json5
-rw-r--r--feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json (renamed from feature-lifecycle/src/main/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json)0
-rw-r--r--feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json (renamed from feature-lifecycle/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json)25
3 files changed, 18 insertions, 12 deletions
diff --git a/feature-lifecycle/src/main/resources/schemas/onap.policies.drools.Controller-1.0.0.schema.json b/feature-lifecycle/src/main/resources/schemas/onap.policies.drools.Controller-1.0.0.schema.json
index e07a3e1e..d638e3b9 100644
--- a/feature-lifecycle/src/main/resources/schemas/onap.policies.drools.Controller-1.0.0.schema.json
+++ b/feature-lifecycle/src/main/resources/schemas/onap.policies.drools.Controller-1.0.0.schema.json
@@ -266,7 +266,10 @@
"customConfig": {
"$id": "#/properties/properties/properties/customConfig",
"type": "object",
- "title": "other Configuration"
+ "title": "other Configuration",
+ "additionalProperties": {
+ "type": "string"
+ }
}
}
}
diff --git a/feature-lifecycle/src/main/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json b/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json
index e89238d7..e89238d7 100644
--- a/feature-lifecycle/src/main/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json
+++ b/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json
diff --git a/feature-lifecycle/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json b/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json
index 8548f7f7..dea42a17 100644
--- a/feature-lifecycle/src/main/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json
+++ b/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json
@@ -132,16 +132,11 @@
"uniqueItems": true,
"required": [
"id",
- "description",
"operation",
"timeout",
"retries",
"success",
- "failure",
- "failure_timeout",
- "failure_retries",
- "failure_exception",
- "failure_guard"
+ "failure"
],
"properties": {
"id": {
@@ -168,7 +163,7 @@
"title": "Operation",
"required": [
"actor",
- "recipe",
+ "operation",
"target"
],
"properties": {
@@ -181,10 +176,10 @@
],
"pattern": "^(.+)$"
},
- "recipe": {
- "$id": "#/properties/properties/properties/operations/items/properties/operation/properties/recipe",
+ "operation": {
+ "$id": "#/properties/properties/properties/operations/items/properties/operation/properties/operation",
"type": "string",
- "title": "Recipe",
+ "title": "Operation Name",
"examples": [
"Restart"
],
@@ -208,6 +203,14 @@
"pattern": "^(.+)$"
}
}
+ },
+ "payload": {
+ "$id": "#/properties/properties/properties/operations/items/properties/operation/properties/payload",
+ "type": "object",
+ "title": "Payload",
+ "additionalProperties": {
+ "type": "string"
+ }
}
}
},
@@ -266,7 +269,7 @@
"failure_retries": {
"$id": "#/properties/properties/properties/operations/items/properties/failure_retries",
"type": "string",
- "title": "Failure Retries Treatment",
+ "title": "Failure Retry Treatment",
"default": "final_failure_retries",
"examples": [
"final_failure_retries",