summaryrefslogtreecommitdiffstats
path: root/feature-lifecycle/src/main/resources/schemas/onap.policies.native.Drools-1.0.0.schema.json
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-03-05 22:32:58 -0600
committerjhh <jorge.hernandez-herrero@att.com>2020-03-10 11:29:27 -0500
commit3f563fe552e35b3bc3d95c47a3cabdfe7645ad07 (patch)
tree9439dc357096b69b670e7dad666084a5cb08dcfb /feature-lifecycle/src/main/resources/schemas/onap.policies.native.Drools-1.0.0.schema.json
parent845cbbc74445909613aff1912d3cfc9083c57d53 (diff)
policy routing and reorg into policy-domains
- Native Drools Controller Policy support. - Move domain policies into the policy-domains project. - Route legacy/compliant operational policies to one or all controller supporting the policy's policy type. - Enhancements to scripts to invoke commands external to the container. Issue-ID: POLICY-2388 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id41f04d10a28d2ea86bdd41334e499c28d0438ae Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'feature-lifecycle/src/main/resources/schemas/onap.policies.native.Drools-1.0.0.schema.json')
-rw-r--r--feature-lifecycle/src/main/resources/schemas/onap.policies.native.Drools-1.0.0.schema.json141
1 files changed, 0 insertions, 141 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
deleted file mode 100644
index 8742768b..00000000
--- a/feature-lifecycle/src/main/resources/schemas/onap.policies.native.Drools-1.0.0.schema.json
+++ /dev/null
@@ -1,141 +0,0 @@
-{
- "definitions": {},
- "$schema": "http://json-schema.org/draft-07/schema#",
- "$id": "http://www.onap.org/policy/models/schemas/onap.policies.controlloop.native.Drools.schema.json",
- "type": "object",
- "title": "Domain onap.policies.controlloop.native.Drools Policy root schema",
- "required": [
- "type",
- "type_version",
- "version",
- "metadata",
- "properties"
- ],
- "properties": {
- "type": {
- "$id": "#/properties/type",
- "type": "string",
- "title": "Policy Type",
- "default": "onap.policies.native.Drools",
- "examples": [
- "onap.policies.native.Drools"
- ],
- "pattern": "^(.+)$"
- },
- "type_version": {
- "$id": "#/properties/type_version",
- "type": "string",
- "title": "Policy Type Version",
- "examples": [
- "1.0.0"
- ],
- "pattern": "^(.+)$"
- },
- "version": {
- "$id": "#/properties/version",
- "type": "string",
- "title": "Version",
- "examples": [
- "1.0.0"
- ],
- "pattern": "^(.+)$"
- },
- "name": {
- "$id": "#/properties/name",
- "type": "string",
- "title": "Name",
- "examples": [
- "example"
- ],
- "pattern": "^(.+)$"
- },
- "metadata": {
- "$id": "#/properties/metadata",
- "type": "object",
- "title": "Metadata",
- "required": [
- "policy-id"
- ],
- "properties": {
- "policy-id": {
- "$id": "#/properties/metadata/properties/policy-id",
- "type": "string",
- "title": "Policy Name",
- "examples": [
- "example"
- ],
- "pattern": "^(.+)$"
- }
- }
- },
- "properties": {
- "$id": "#/properties/properties",
- "type": "object",
- "title": "Properties",
- "required": [
- "rulesArtifact",
- "controller"
- ],
- "properties": {
- "rulesArtifact": {
- "$id": "#/properties/properties/properties/rulesArtifact",
- "type": "object",
- "title": "Rules Artifact",
- "required": [
- "groupId",
- "artifactId",
- "version"
- ],
- "properties": {
- "groupId": {
- "$id": "#/properties/properties/properties/rulesArtifact/properties/groupId",
- "type": "string",
- "title": "Group Id",
- "examples": [
- "org.onap.policy.controlloop"
- ],
- "pattern": "^(.+)$"
- },
- "artifactId": {
- "$id": "#/properties/properties/properties/rulesArtifact/properties/artifactId",
- "type": "string",
- "title": "Artifact ID",
- "examples": [
- "example"
- ],
- "pattern": "^(.+)$"
- },
- "version": {
- "$id": "#/properties/properties/properties/rulesArtifact/properties/version",
- "type": "string",
- "title": "Version",
- "examples": [
- "1.0.0"
- ],
- "pattern": "^(.+)$"
- }
- }
- },
- "controller": {
- "$id": "#/properties/properties/properties/controller",
- "type": "object",
- "title": "Controller",
- "required": [
- "name"
- ],
- "properties": {
- "name": {
- "$id": "#/properties/properties/properties/controller/properties/name",
- "type": "string",
- "title": "Name",
- "examples": [
- "example"
- ],
- "pattern": "^(.+)$"
- }
- }
- }
- }
- }
- }
-}