| Summary: | Add example of URIs for service registration in the OpenApis | ||
|---|---|---|---|
| Product: | MEC | Reporter: | Michele Carignani <michele.carignani> |
| Component: | GS 011 | Assignee: | Walter Featherstone <walter1.f> |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | CC: | davide.borsatti, michele.carignani, sebastian.mueller |
| Priority: | Normal | ||
| Version: | Release 2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Version number of the related document: | 2.1.1 | OpenAPI issue category: | --- |
|
Description
Michele Carignani
2020-06-24 13:37:37 CEST
The example could simply be reformed as follows:
{
"serName": "ExampleService",
"serCategory": {
"href": "/example/catalogue1",
"id": "id12345",
"name": "RNI",
"version": "version1"
},
"version": "ServiceVersion1",
"state": "ACTIVE",
"transportId": "Rest1",
"transportInfo": {
"id": "TransId12345",
"name": "REST",
"description": "REST API",
"type": "REST_HTTP",
"protocol": "HTTP",
"version": "2.0",
"endpoint": {
"uris": [
"http://SERVICE_IP/path/to/service"
]
},
"security": {
"oAuth2Info": {
"grantTypes": [
"OAUTH2_CLIENT_CREDENTIALS"
],
"tokenEndpoint": "/mecSerMgmtApi/security/TokenEndPoint"
}
},
"implSpecificInfo": {}
},
"serializer": "JSON",
"scopeOfLocality": "MEC_SYSTEM",
"consumedLocalOnly": false,
"isLocal": true
}
The example shows the easiest way to expose a service's endpoint. It is done by adding a value on the "uris" list.
|