Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Standardisation of names
[nonrtric.git]
/
docs
/
policy-agent-api.rst
diff --git
a/docs/policy-agent-api.rst
b/docs/policy-agent-api.rst
index
8a46fc7
..
2a79b26
100644
(file)
--- a/
docs/policy-agent-api.rst
+++ b/
docs/policy-agent-api.rst
@@
-115,7
+115,7
@@
PUT
Service created.
400:
Service created.
400:
-
Something went wrong with the service registration
.
+
The ServiceRegistrationInfo is not accepted
.
**Examples:**
**Examples:**
@@
-243,8
+243,8
@@
DELETE
/services/keepalive
~~~~~~~~~~~~~~~~~~~
/services/keepalive
~~~~~~~~~~~~~~~~~~~
-P
OS
T
-+++
+
+P
U
T
++++
Heart beat from a service.
Heart beat from a service.
@@
-268,7
+268,7
@@
POST
Call: ::
Call: ::
- curl -X P
OS
T "http://localhost:8081/services/keepalive?name=existing"
+ curl -X P
U
T "http://localhost:8081/services/keepalive?name=existing"
Result:
200: ::
Result:
200: ::
@@
-277,7
+277,7
@@
POST
Call: ::
Call: ::
- curl -X P
OS
T "http://localhost:8081/services/keepalive?name=nonexistent"
+ curl -X P
U
T "http://localhost:8081/services/keepalive?name=nonexistent"
Result:
404: ::
Result:
404: ::
@@
-741,7
+741,7
@@
PUT
Near |nbh| RT |nbsp| RIC or policy type is not found.
423:
Near |nbh| RT |nbsp| RIC or policy type is not found.
423:
- Near |nbh| RT |nbsp| RIC is
locked
.
+ Near |nbh| RT |nbsp| RIC is
not operational
.
**Examples:**
**Examples:**
@@
-794,6
+794,9
@@
DELETE
404:
Policy is not found.
404:
Policy is not found.
+ 423:
+ Near |nbh| RT |nbsp| RIC is not operational.
+
**Examples:**
Call: ::
**Examples:**
Call: ::
@@
-904,7
+907,7
@@
GET
**Parameters:**
**Parameters:**
- managedElementId: (*
Optional
*)
+ managedElementId: (*
Required
*)
The ID of the Managed Element.
**Responses:**
The ID of the Managed Element.
**Responses:**
@@
-962,7
+965,8
@@
GET
"policyTypes": [
"string"
],
"policyTypes": [
"string"
],
- "ricName": "string"
+ "ricName": "string",
+ "state": "string"
}
]
}
]
@@
-989,7
+993,8
@@
GET
"Example_QoETarget_1.0.0",
"ERIC_QoSNudging_0.2.0"
],
"Example_QoETarget_1.0.0",
"ERIC_QoSNudging_0.2.0"
],
- "ricName": "Ric 1"
+ "ricName": "Ric 1",
+ "state": "AVAILABLE"
},
.
.
},
.
.
@@
-1001,7
+1006,8
@@
GET
"policyTypes": [
"STD_PolicyModelUnconstrained_0.2.0"
],
"policyTypes": [
"STD_PolicyModelUnconstrained_0.2.0"
],
- "ricName": "Ric X"
+ "ricName": "Ric X",
+ "state": "UNAVAILABLE"
}
]
}
]