summaryrefslogtreecommitdiffstats
path: root/policy-management/src/main/resources/schemas/pdpd-configuration.jsonschema
blob: 34ee199a921f5b568ef0e889e7b11429e1aaf92a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
	"title": "ENGINE-CONFIGURATION",
	"type":"object",
	"$schema": "http://json-schema.org/draft-03/schema",
	"required":false,
	"properties":{
		"requestID": {
			"description": "Unique Transaction ID.   This is an UUID.",
			"type":"string",
			"required":true
		},
		"entity": {
			"description": "Set of entities on which configuration can be performed: controller",
			"type":"string",
			"required":true
		},
		"controllers": {
			"description": "Controller Information, only applicable when the entity is set to controller",
			"type":"array",
			"required":false,
			"items": {
				"description": "Drools Related Information",
				"type":"object",
				"required":true,
				"properties":{
					"name": {
						"type":"string",
						"required":true
					},
					"operation": {
						"description": "Set of operations that can be applied to a controller: create, lock",
						"type":"string",
						"required":true
					},
					"drools": {
						"description": "Maven Related Information",
						"type":"object",
						"required":false,
						"properties":{
							"artifactId": {
								"description": "Maven Artifact ID",
								"type":"string",
								"required":true
							},
							"groupId": {
								"description": "Maven Group ID",
								"type":"string",
								"required":true
							},
							"version": {
								"description": "Maven Version",
								"type":"string",
								"required":true
							}
						}
					}
				}
			}
		}
	}
}