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-2.json
diff --git
a/dashboard/webapp-backend/src/test/resources/demo-policy-schema-2.json
b/dashboard/webapp-backend/src/test/resources/demo-policy-schema-2.json
index
69ec678
..
f3eb28f
100644
(file)
--- a/
dashboard/webapp-backend/src/test/resources/demo-policy-schema-2.json
+++ b/
dashboard/webapp-backend/src/test/resources/demo-policy-schema-2.json
@@
-1,21
+1,49
@@
{
{
- "$id": "https://example.com/person.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
- "title": "Person",
+ "title": "Example_QoETarget_1.0.0",
+ "description": "Example QoE Target policy type",
"type": "object",
"properties": {
"type": "object",
"properties": {
- "firstName": {
- "type": "string",
- "description": "The person's first name."
+ "scope": {
+ "type": "object",
+ "properties": {
+ "ueId": {
+ "type": "string"
+ },
+ "sliceId": {
+ "type": "string"
+ },
+ "qosId": {
+ "type": "string"
+ },
+ "cellId": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "ueId",
+ "sliceId"
+ ]
},
},
- "lastName": {
- "type": "string",
- "description": "The person's last name."
- },
- "age": {
- "description": "Age in years which must be equal to or greater than zero.",
- "type": "integer",
- "minimum": 0
+ "statement": {
+ "type": "object",
+ "properties": {
+ "qoeScore": {
+ "type": "number"
+ },
+ "initialBuffering": {
+ "type": "number"
+ },
+ "reBuffFreq": {
+ "type": "number"
+ },
+ "stallRatio": {
+ "type": "number"
+ }
+ },
+ "minProperties": 1,
+ "additionalProperties": false
}
}
}
\ No newline at end of file
}
}
}
\ No newline at end of file