4
4
title : Application Endpoint Discovery API
5
5
version : 0.1.0-wip
6
6
description : |
7
- # Connect to the Nearest Application Endpoint
7
+ # Connect to the Optimal Application Endpoint
8
8
---
9
9
# Overview
10
10
The Application Discovery API extends beyond the capabilities of the
11
11
Simple Edge Discovery API by not only locating the nearest Edge Cloud Zone
12
- but also directly linking to the application endpoints within those zones.
13
- This crucial enhancement enables immediate connection to the most relevant
12
+ but also directly linking to the application endpoints within those
13
+ Edge Cloud Zones.
14
+ This API intent enables immediate connection to the most relevant
14
15
service endpoint, optimizing the application's interaction with
15
16
edge computing resources.
16
17
# Introduction
17
18
Operators often host multiple Edge Cloud Zones across various territories.
18
- Connecting an application directly to the nearest operational service
19
- endpoint minimizes latency because data travels the shortest possible route .
19
+ Connecting an application directly to the optimal Edge Cloud Zone
20
+ endpoint may minimize latency .
20
21
Unlike the Simple Edge Discovery API, which only provides the zone location,
21
- this API calculates and provides the actual endpoints within the nearest
22
+ this API provides the actual endpoints within the nearest
22
23
zone. This approach ensures that developers can instantly integrate these
23
- endpoints into their applications, improving performance and user
24
+ endpoints into their applications, improving the user
24
25
experience.
25
26
After identifying the nearest application endpoint through the API,
26
27
developers can:
27
28
* Connect their application client directly to the chosen application
28
- endpoint, enhancing the responsiveness and reliability of the service.
29
- * Deploy new instances if no suitable endpoints are within the identified
29
+ endpoint, enhancing the responsiveness of the service.
30
+ * If no suitable endpoints are available, the
31
+ developer can use the API EdgeApplicationManagement in order to
32
+ instantiate a new instance.
30
33
Edge Cloud Zone, optimizing their service distribution based on real-time
31
34
network geography.
32
35
# Quick Start
33
36
This API can be utilized by both client applications on user devices and
34
37
by servers. It uses a straightforward endpoint:
35
38
`/apps-endpoints?filter=closest`.
36
- API consumers are required to authenticate via OAuth2 to obtain access
37
- tokens,
38
- which must be included in the `Authorization` header of API requests.
39
39
For accurate service localization, the API requires device-specific
40
40
identifiers such as:
41
41
* `IP-Address`: Public IP address of the user device, which can be fetched
@@ -127,15 +127,15 @@ servers:
127
127
default : application-endpoint-discovery/vwip
128
128
description : Base path for the Application Endpoint Discovery.
129
129
tags :
130
- - name : Discovery
130
+ - name : Application Endpoint Discovery
131
131
description : |
132
132
Find the closest App Instance Endpoint to the user device.
133
133
paths :
134
- /apps -endpoints :
134
+ /app -endpoints :
135
135
get :
136
136
security :
137
137
- openId :
138
- - application-endpoint-discovery:apps -endpoints:read
138
+ - application-endpoint-discovery:app -endpoints:read
139
139
operationId : getAppEndpoints
140
140
parameters :
141
141
- name : filter
@@ -210,7 +210,7 @@ paths:
210
210
content :
211
211
application/json :
212
212
schema :
213
- $ref : " #/components/schemas/AccessEndpoint "
213
+ $ref : " #/components/schemas/AccessEndpoints "
214
214
" 400 " :
215
215
$ref : " #/components/responses/400BadRequest"
216
216
" 401 " :
@@ -264,9 +264,11 @@ components:
264
264
AppId :
265
265
type : string
266
266
format : uuid
267
- description : A globally unique identifier associated with the application.
268
- OP generates this identifier when the application is submitted over NBI.
269
- AccessEndpoint :
267
+ description : A globally unique identifier associated
268
+ with the application.
269
+ This GUID will have been previously provided by the
270
+ Edge Cloud Zone provider.
271
+ AccessEndpoints :
270
272
type : object
271
273
description : |
272
274
Application Endpoint for an especific instance that is
@@ -454,7 +456,7 @@ components:
454
456
to perform this action"
455
457
}
456
458
404NotFound :
457
- description : Subscriber Not Found
459
+ description : Not Found
458
460
headers :
459
461
X-Correlator :
460
462
$ref : " #/components/headers/X-Correlator"
@@ -473,6 +475,17 @@ components:
473
475
" status " : 404,
474
476
" message " : " No device found for the specified parameters"
475
477
}
478
+ EndpointNotFound :
479
+ description : |
480
+ No endpoint instance found for the specified parameters,
481
+ meaning the closest Edge Cloud Zone cannot be determined.
482
+ value :
483
+ {
484
+ " code " : " NOT_FOUND" ,
485
+ " status " : 404,
486
+ " message " : " No endpoint instance found for the
487
+ specified parameters"
488
+ }
476
489
405MethodNotAllowed :
477
490
description : Method Not Allowed
478
491
headers :
0 commit comments