Skip to content

Commit d15b717

Browse files
Merge pull request #189 from camaraproject/gunjald-patch-5
Update EdgeCloud_LcM.yaml Added componentEndpointInfo and AccessEndpoint instead of uri
2 parents 43ef829 + 6049ace commit d15b717

File tree

1 file changed

+59
-2
lines changed

1 file changed

+59
-2
lines changed

code/API_definitions/EdgeCloud_LcM.yaml

+59-2
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,6 @@ components:
518518
$ref: '#/components/schemas/AppInstanceId'
519519
edgeCloudNodeName:
520520
$ref: '#/components/schemas/EdgeCloudNodeName'
521-
uri:
522-
$ref: '#/components/schemas/Uri'
523521
status:
524522
description: Status of the application instance (default is 'unknown')
525523
type: string
@@ -530,9 +528,68 @@ components:
530528
- terminating
531529
- unknown
532530
default: unknown
531+
componentEndpointInfo:
532+
description: Information about the IP and Port exposed by the OP. Application clients shall use these access points to reach this application instance
533+
type: array
534+
items:
535+
type: object
536+
required:
537+
- interfaceId
538+
- accessPoints
539+
properties:
540+
interfaceId:
541+
type: string
542+
pattern: ^[A-Za-z0-9][A-Za-z0-9_]{6,30}[A-Za-z0-9]$
543+
description: This is the interface Identifier that app provider defines when application is onboarded.
544+
accessPoints:
545+
$ref: '#/components/schemas/AccessEndpoint'
546+
minItems: 1
533547
EdgeCloudNodeName:
534548
description: Edge Cloud Node Name - an identifier for an edge cloud node in the operator domain
535549
type: string
550+
AccessEndpoint:
551+
type: object
552+
required:
553+
- port
554+
anyOf:
555+
- required:
556+
- fqdn
557+
- required:
558+
- ipv4Addresses
559+
- required:
560+
- ipv6Addresses
561+
properties:
562+
port:
563+
$ref: '#/components/schemas/Port'
564+
fqdn:
565+
$ref: '#/components/schemas/Fqdn'
566+
ipv4Addresses:
567+
type: array
568+
items:
569+
$ref: '#/components/schemas/Ipv4Addr'
570+
minItems: 1
571+
ipv6Addresses:
572+
type: array
573+
items:
574+
$ref: '#/components/schemas/Ipv6Addr'
575+
minItems: 1
576+
577+
Ipv4Addr:
578+
type: string
579+
pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$
580+
example: 198.51.100.1
581+
Ipv6Addr:
582+
type: string
583+
allOf:
584+
- pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$
585+
- pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$
586+
example: 2001:db8:85a3::8a2e:370:7334
587+
Fqdn:
588+
type: string
589+
590+
Port:
591+
type: integer
592+
minimum: 0
536593

537594
ErrorInfo:
538595
type: object

0 commit comments

Comments
 (0)