From f6fe4e1c96d0f71afa1ba9c96198dd60d6d79852 Mon Sep 17 00:00:00 2001 From: FabrizioMoggio <87469955+FabrizioMoggio@users.noreply.github.com> Date: Fri, 5 Jul 2024 15:11:42 +0200 Subject: [PATCH] MegaLinter Fix it is unfortunate that Common YAML is not compatible with our linter :-( --- code/API_definitions/Traffic_Influence.yaml | 48 ++++++++++----------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/code/API_definitions/Traffic_Influence.yaml b/code/API_definitions/Traffic_Influence.yaml index 8d57066..d0a8b35 100644 --- a/code/API_definitions/Traffic_Influence.yaml +++ b/code/API_definitions/Traffic_Influence.yaml @@ -164,9 +164,9 @@ info: An user Device can be provided as an input. The Device can be identified by the phone number (phoneNumber) or by its IP Address (Ipv4Address, Ipv6Address) also specifying a Port. For IP address both the private (as - seen from inside the Device) and the public (as seen over Internet by a + seen from inside the Device) and the public (as seen over Internet by a server connected to the Device) can be used. To add more users the TI API - must be invoked (POST) of each user Device. New "TrafficInfluence" + must be invoked (POST) of each user Device. New "TrafficInfluence" resources are created (with different "trafficInfluenceID"). The routing toward the selected Application instance is only applied for provided user Devices. "publicPort" can be used to identify the device. "publicPort" can @@ -739,34 +739,34 @@ components: additionalProperties: false Device: description: | - End-user equipment able to connect to a mobile network. Examples of - devices include smartphones or IoT sensors/actuators. - The developer can choose to provide the below specified device - identifiers: - * `ipv4Address` - * `ipv6Address` - * `phoneNumber` - * `networkAccessIdentifier` - NOTE1: the MNO might support only a subset of these options. - The API invoker can provide multiple identifiers to be compatible - across different MNOs. In this case the identifiers MUST belong to - the same device. - NOTE2: for the Commonalities release v0.4, we are enforcing that the - networkAccessIdentifier is only part of the schema for - future-proofing, and CAMARA does not currently allow its use. - After the CAMARA meta-release work is concluded and the relevant - issues are resolved, its use will need to be explicitly documented - in the guidelines. + End-user equipment able to connect to a mobile network. Examples of + devices include smartphones or IoT sensors/actuators. + The developer can choose to provide the below specified device + identifiers: + * `ipv4Address` + * `ipv6Address` + * `phoneNumber` + * `networkAccessIdentifier` + NOTE1: the MNO might support only a subset of these options. + The API invoker can provide multiple identifiers to be compatible + across different MNOs. In this case the identifiers MUST belong to + the same device. + NOTE2: for the Commonalities release v0.4, we are enforcing that the + networkAccessIdentifier is only part of the schema for + future-proofing, and CAMARA does not currently allow its use. + After the CAMARA meta-release work is concluded and the relevant + issues are resolved, its use will need to be explicitly documented + in the guidelines. type: object properties: phoneNumber: - $ref: "#/components/schemas/PhoneNumber" + $ref: "#/components/schemas/PhoneNumber" networkAccessIdentifier: - $ref: "#/components/schemas/NetworkAccessIdentifier" + $ref: "#/components/schemas/NetworkAccessIdentifier" ipv4Address: - $ref: "#/components/schemas/DeviceIpv4Addr" + $ref: "#/components/schemas/DeviceIpv4Addr" ipv6Address: - $ref: "#/components/schemas/DeviceIpv6Address" + $ref: "#/components/schemas/DeviceIpv6Address" minProperties: 1 PhoneNumber: description: A public identifier addressing a telephone subscription. In