Skip to content

Commit 9816864

Browse files
Update EdgeCloud_LcM.yaml to harmonize EdgeCloudZone
Added EdgeCloudeZone schema to harmonize with SED. Updated version to 0.9.2, as relevant changes are made. Adaptation of the format to the MegalinterWorkflow criteria.
1 parent 5a01556 commit 9816864

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

code/API_definitions/EdgeCloud_LcM.yaml

+18-9
Original file line numberDiff line numberDiff line change
@@ -515,10 +515,13 @@ components:
515515
$ref: '#/components/schemas/EdgeCloudZone'
516516

517517
AppZones:
518+
description: Collection of Edge Cloud Zones where the AP wants to
519+
instantiate the application.
518520
type: array
519521
items:
520522
$ref: '#/components/schemas/EdgeCloudZone'
521523
minItems: 1
524+
additionalProperties: false
522525

523526
AppManifest:
524527
properties:
@@ -606,8 +609,9 @@ components:
606609
type: string
607610
description: Component name must be unique with an application
608611
networkInterfaces:
609-
description: Each application component exposes some ports either
610-
for external users or for inter component communication.
612+
description: Each application component exposes some ports
613+
either for external users or for inter component
614+
communication.
611615
Application provider is required to specify which ports are
612616
to be exposed and the type of traffic that will flow through
613617
these ports.The underlying platform may assign a dynamic port
@@ -660,7 +664,6 @@ components:
660664
- VISIBILITY_EXTERNAL
661665
- VISIBILITY_INTERNAL
662666
minItems: 1
663-
664667
required:
665668
- name
666669
- version
@@ -679,13 +682,14 @@ components:
679682
the Edge Cloud. Defined by the Edge Provider.
680683

681684
EdgeCloudZones:
682-
description: A collection of Edge Cloud Zones where the AP can
683-
instantiate an Application Instance.
684685
type: array
685686
items:
686687
$ref: '#/components/schemas/EdgeCloudZone'
687688
minItems: 1
688-
689+
description: A collection of Edge Cloud Zones where the AP can
690+
instantiate an Application Instance.
691+
additionalProperties: false
692+
689693
EdgeCloudZoneId:
690694
type: string
691695
format: uuid
@@ -758,14 +762,19 @@ components:
758762

759763
Ipv4Addr:
760764
type: string
761-
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])$
765+
pattern: |
766+
^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]
767+
|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$
762768
example: 198.51.100.1
763769

764770
Ipv6Addr:
765771
type: string
766772
allOf:
767-
- 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})))$
768-
- pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$
773+
- pattern: |
774+
^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?
775+
|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$
776+
- pattern: |
777+
^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$
769778
example: 2001:db8:85a3::8a2e:370:7334
770779

771780
OperatingSystem:

0 commit comments

Comments
 (0)