diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2020-02-27 19:20:39 -0600 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2020-02-27 19:20:39 -0600 |
commit | 7f1a0e6e142513087aa9385786212455a1ea0f22 (patch) | |
tree | a8977301b868108220d62c8cba2733158f8d7509 /feature-lifecycle/src/main/resources/schemas | |
parent | f22a6d5c2ae04a82919f7b9e7c9da5f5d459dd05 (diff) |
Undeploy support for native rules PDP-D policies.
Issue-ID: POLICY-2388
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ic829bda9dbbb54d8883df6c642c1895cd7936823
Diffstat (limited to 'feature-lifecycle/src/main/resources/schemas')
-rw-r--r-- | feature-lifecycle/src/main/resources/schemas/onap.policies.native.Drools-1.0.0.schema.json | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/feature-lifecycle/src/main/resources/schemas/onap.policies.native.Drools-1.0.0.schema.json b/feature-lifecycle/src/main/resources/schemas/onap.policies.native.Drools-1.0.0.schema.json index 1dd766a2..8742768b 100644 --- a/feature-lifecycle/src/main/resources/schemas/onap.policies.native.Drools-1.0.0.schema.json +++ b/feature-lifecycle/src/main/resources/schemas/onap.policies.native.Drools-1.0.0.schema.json @@ -73,7 +73,8 @@ "type": "object", "title": "Properties", "required": [ - "rulesArtifact" + "rulesArtifact", + "controller" ], "properties": { "rulesArtifact": { @@ -93,7 +94,7 @@ "examples": [ "org.onap.policy.controlloop" ], - "pattern": "^(.*)$" + "pattern": "^(.+)$" }, "artifactId": { "$id": "#/properties/properties/properties/rulesArtifact/properties/artifactId", @@ -102,7 +103,7 @@ "examples": [ "example" ], - "pattern": "^(.*)$" + "pattern": "^(.+)$" }, "version": { "$id": "#/properties/properties/properties/rulesArtifact/properties/version", @@ -111,7 +112,7 @@ "examples": [ "1.0.0" ], - "pattern": "^(.*)$" + "pattern": "^(.+)$" } } }, @@ -120,8 +121,7 @@ "type": "object", "title": "Controller", "required": [ - "name", - "version" + "name" ], "properties": { "name": { @@ -132,15 +132,6 @@ "example" ], "pattern": "^(.+)$" - }, - "version": { - "$id": "#/properties/properties/properties/controller/properties/version", - "type": "string", - "title": "Version", - "examples": [ - "1.0.0" - ], - "pattern": "^(.*)$" } } } |