Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Changed the Dmaap message payload"
[nonrtric.git]
/
policy-agent
/
src
/
test
/
resources
/
policy_types
/
demo-policy-schema-3.json
diff --git
a/policy-agent/src/test/resources/policy_types/demo-policy-schema-3.json
b/policy-agent/src/test/resources/policy_types/demo-policy-schema-3.json
index
695514c
..
a73dd59
100644
(file)
--- a/
policy-agent/src/test/resources/policy_types/demo-policy-schema-3.json
+++ b/
policy-agent/src/test/resources/policy_types/demo-policy-schema-3.json
@@
-1,59
+1,27
@@
{
"$schema": "http://json-schema.org/draft-07/schema#",
{
"$schema": "http://json-schema.org/draft-07/schema#",
- "title": "E
xample_TrafficSteeringPreference_1.0
.0",
- "description": "
Example QoE Target policy ty
pe",
+ "title": "E
RIC_QoSNudging_0.2
.0",
+ "description": "
QoS nudging policy type with priorityLevel and ueId and qosId as sco
pe",
"type": "object",
"properties": {
"scope": {
"type": "object",
"properties": {
"type": "object",
"properties": {
"scope": {
"type": "object",
"properties": {
- "ueId": {
- "type": "string"
- },
- "sliceId": {
- "type": "string"
- },
- "qosId": {
- "type": "string"
- },
- "cellId": {
- "type": "string"
- }
+ "ueId": {"type": "string"},
+ "qosId": {"type": "string"}
},
"additionalProperties": false,
},
"additionalProperties": false,
- "required": [
- "ueId"
- ]
+ "required": ["ueId", "qosId"]
},
},
- "
statement
": {
+ "
qosObjectives
": {
"type": "object",
"properties": {
"type": "object",
"properties": {
- "cellIdList": {
- "type": "array",
- "minItems": 1,
- "uniqueItems": true,
- "items": {
- "type": "string"
- }
- },
- "preference": {
- "type": "string",
- "enum": [
- "SHALL",
- "PREFER",
- "AVOID",
- "FORBID"
- ]
- },
- "primary": {
- "type": "boolean"
- }
+ "priorityLevel": {"type": "number"}
},
},
- "required": [
- "cellIdList",
- "preference"
- ],
- "additionalProperties": false
+ "additionalProperties": false,
+ "required": ["priorityLevel"]
}
}
- }
-}
\ No newline at end of file
+ },
+ "additionalProperties": false,
+ "required": ["scope", "qosObjectives"]
+}