Code Review
/
ric-plt
/
xapp-frame.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Don't enforce namespace for metrics
[ric-plt/xapp-frame.git]
/
pkg
/
restapi
/
embedded_spec.go
diff --git
a/pkg/restapi/embedded_spec.go
b/pkg/restapi/embedded_spec.go
index
7ddaba9
..
4506519
100644
(file)
--- a/
pkg/restapi/embedded_spec.go
+++ b/
pkg/restapi/embedded_spec.go
@@
-29,7
+29,7
@@
func init() {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
- "version": "0.0.
1
"
+ "version": "0.0.
2
"
},
"host": "hostname",
"basePath": "/ric/v1",
},
"host": "hostname",
"basePath": "/ric/v1",
@@
-156,12
+156,10
@@
func init() {
},
"definitions": {
"ActionDefinition": {
},
"definitions": {
"ActionDefinition": {
- "description": "E2SM Octet string. ActionDefinition is an OPTIONAL IE",
- "type": "object",
- "properties": {
- "OctetString": {
- "type": "string"
- }
+ "description": "E2SM byte array. ActionDefinition is an OPTIONAL IE",
+ "type": "array",
+ "items": {
+ "type": "integer"
}
},
"ActionToBeSetup": {
}
},
"ActionToBeSetup": {
@@
-220,12
+218,10
@@
func init() {
}
},
"EventTriggerDefinition": {
}
},
"EventTriggerDefinition": {
- "description": "E2SM Octet string",
- "type": "object",
- "properties": {
- "OctetString": {
- "type": "string"
- }
+ "description": "E2SM byte array",
+ "type": "array",
+ "items": {
+ "type": "integer"
}
},
"SubscriptionData": {
}
},
"SubscriptionData": {
@@
-254,8
+250,7
@@
func init() {
"SubscriptionDetail": {
"type": "object",
"required": [
"SubscriptionDetail": {
"type": "object",
"required": [
- "RequestorId",
- "InstanceId",
+ "XappEventInstanceId",
"EventTriggers",
"ActionToBeSetupList"
],
"EventTriggers",
"ActionToBeSetupList"
],
@@
-266,11
+261,7
@@
func init() {
"EventTriggers": {
"$ref": "#/definitions/EventTriggerDefinition"
},
"EventTriggers": {
"$ref": "#/definitions/EventTriggerDefinition"
},
- "InstanceId": {
- "type": "integer",
- "maximum": 65535
- },
- "RequestorId": {
+ "XappEventInstanceId": {
"type": "integer",
"maximum": 65535
}
"type": "integer",
"maximum": 65535
}
@@
-285,20
+276,20
@@
func init() {
"SubscriptionInstance": {
"type": "object",
"required": [
"SubscriptionInstance": {
"type": "object",
"required": [
- "
Requestor
Id",
- "InstanceId",
+ "
XappEventInstance
Id",
+ "
E2Event
InstanceId",
"ErrorCause"
],
"properties": {
"ErrorCause"
],
"properties": {
+ "E2EventInstanceId": {
+ "type": "integer",
+ "maximum": 65535
+ },
"ErrorCause": {
"description": "Empty string when no error.",
"type": "string"
},
"ErrorCause": {
"description": "Empty string when no error.",
"type": "string"
},
- "InstanceId": {
- "type": "integer",
- "maximum": 65535
- },
- "RequestorId": {
+ "XappEventInstanceId": {
"type": "integer",
"maximum": 65535
}
"type": "integer",
"maximum": 65535
}
@@
-450,7
+441,7
@@
func init() {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
- "version": "0.0.
1
"
+ "version": "0.0.
2
"
},
"host": "hostname",
"basePath": "/ric/v1",
},
"host": "hostname",
"basePath": "/ric/v1",
@@
-577,12
+568,10
@@
func init() {
},
"definitions": {
"ActionDefinition": {
},
"definitions": {
"ActionDefinition": {
- "description": "E2SM Octet string. ActionDefinition is an OPTIONAL IE",
- "type": "object",
- "properties": {
- "OctetString": {
- "type": "string"
- }
+ "description": "E2SM byte array. ActionDefinition is an OPTIONAL IE",
+ "type": "array",
+ "items": {
+ "type": "integer"
}
},
"ActionToBeSetup": {
}
},
"ActionToBeSetup": {
@@
-642,12
+631,10
@@
func init() {
}
},
"EventTriggerDefinition": {
}
},
"EventTriggerDefinition": {
- "description": "E2SM Octet string",
- "type": "object",
- "properties": {
- "OctetString": {
- "type": "string"
- }
+ "description": "E2SM byte array",
+ "type": "array",
+ "items": {
+ "type": "integer"
}
},
"SubscriptionData": {
}
},
"SubscriptionData": {
@@
-676,8
+663,7
@@
func init() {
"SubscriptionDetail": {
"type": "object",
"required": [
"SubscriptionDetail": {
"type": "object",
"required": [
- "RequestorId",
- "InstanceId",
+ "XappEventInstanceId",
"EventTriggers",
"ActionToBeSetupList"
],
"EventTriggers",
"ActionToBeSetupList"
],
@@
-688,12
+674,7
@@
func init() {
"EventTriggers": {
"$ref": "#/definitions/EventTriggerDefinition"
},
"EventTriggers": {
"$ref": "#/definitions/EventTriggerDefinition"
},
- "InstanceId": {
- "type": "integer",
- "maximum": 65535,
- "minimum": 0
- },
- "RequestorId": {
+ "XappEventInstanceId": {
"type": "integer",
"maximum": 65535,
"minimum": 0
"type": "integer",
"maximum": 65535,
"minimum": 0
@@
-709,21
+690,21
@@
func init() {
"SubscriptionInstance": {
"type": "object",
"required": [
"SubscriptionInstance": {
"type": "object",
"required": [
- "
Requestor
Id",
- "InstanceId",
+ "
XappEventInstance
Id",
+ "
E2Event
InstanceId",
"ErrorCause"
],
"properties": {
"ErrorCause"
],
"properties": {
- "ErrorCause": {
- "description": "Empty string when no error.",
- "type": "string"
- },
- "InstanceId": {
+ "E2EventInstanceId": {
"type": "integer",
"maximum": 65535,
"minimum": 0
},
"type": "integer",
"maximum": 65535,
"minimum": 0
},
- "RequestorId": {
+ "ErrorCause": {
+ "description": "Empty string when no error.",
+ "type": "string"
+ },
+ "XappEventInstanceId": {
"type": "integer",
"maximum": 65535,
"minimum": 0
"type": "integer",
"maximum": 65535,
"minimum": 0