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 "Fix security vulnerability"
[nonrtric.git]
/
dashboard
/
webapp-backend
/
src
/
test
/
resources
/
demo-policy-schema-3.json
diff --git
a/dashboard/webapp-backend/src/test/resources/demo-policy-schema-3.json
b/dashboard/webapp-backend/src/test/resources/demo-policy-schema-3.json
index
3be9959
..
695514c
100644
(file)
--- a/
dashboard/webapp-backend/src/test/resources/demo-policy-schema-3.json
+++ b/
dashboard/webapp-backend/src/test/resources/demo-policy-schema-3.json
@@
-1,39
+1,59
@@
{
{
- "$id": "https://example.com/arrays.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
- "description": "A representation of a person, company, organization, or place",
+ "title": "Example_TrafficSteeringPreference_1.0.0",
+ "description": "Example QoE Target policy type",
"type": "object",
"properties": {
"type": "object",
"properties": {
- "fruits": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "vegetables": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/veggie"
- }
- }
- },
- "definitions": {
- "veggie": {
+ "scope": {
"type": "object",
"type": "object",
+ "properties": {
+ "ueId": {
+ "type": "string"
+ },
+ "sliceId": {
+ "type": "string"
+ },
+ "qosId": {
+ "type": "string"
+ },
+ "cellId": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
"required": [
"required": [
- "veggieName",
- "veggieLike"
- ],
+ "ueId"
+ ]
+ },
+ "statement": {
+ "type": "object",
"properties": {
"properties": {
- "veggieName": {
+ "cellIdList": {
+ "type": "array",
+ "minItems": 1,
+ "uniqueItems": true,
+ "items": {
+ "type": "string"
+ }
+ },
+ "preference": {
"type": "string",
"type": "string",
- "description": "The name of the vegetable."
+ "enum": [
+ "SHALL",
+ "PREFER",
+ "AVOID",
+ "FORBID"
+ ]
},
},
- "veggieLike": {
- "type": "boolean",
- "description": "Do I like this vegetable?"
+ "primary": {
+ "type": "boolean"
}
}
- }
+ },
+ "required": [
+ "cellIdList",
+ "preference"
+ ],
+ "additionalProperties": false
}
}
}
\ No newline at end of file
}
}
}
\ No newline at end of file