Service created.
400:
- Something went wrong with the service registration.
+ The ServiceRegistrationInfo is not accepted.
**Examples:**
/services/keepalive
~~~~~~~~~~~~~~~~~~~
-POST
-++++
+PUT
++++
Heart beat from a service.
Call: ::
- curl -X POST "http://localhost:8081/services/keepalive?name=existing"
+ curl -X PUT "http://localhost:8081/services/keepalive?name=existing"
Result:
200: ::
Call: ::
- curl -X POST "http://localhost:8081/services/keepalive?name=nonexistent"
+ curl -X PUT "http://localhost:8081/services/keepalive?name=nonexistent"
Result:
404: ::
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:**
404:
Policy is not found.
+ 423:
+ Near |nbh| RT |nbsp| RIC is not operational.
+
**Examples:**
Call: ::
**Parameters:**
- managedElementId: (*Optional*)
+ managedElementId: (*Required*)
The ID of the Managed Element.
**Responses:**
"policyTypes": [
"string"
],
- "ricName": "string"
+ "ricName": "string",
+ "state": "string"
}
]
"Example_QoETarget_1.0.0",
"ERIC_QoSNudging_0.2.0"
],
- "ricName": "Ric 1"
+ "ricName": "Ric 1",
+ "state": "AVAILABLE"
},
.
.
"policyTypes": [
"STD_PolicyModelUnconstrained_0.2.0"
],
- "ricName": "Ric X"
+ "ricName": "Ric X",
+ "state": "UNAVAILABLE"
}
]