Skip to content

Commit

Permalink
MegaLinter Fix
Browse files Browse the repository at this point in the history
it is unfortunate that Common YAML is not compatible with our linter :-(
  • Loading branch information
FabrizioMoggio authored Jul 5, 2024
1 parent 3d7c18c commit f6fe4e1
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions code/API_definitions/Traffic_Influence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -739,34 +739,34 @@ components:
additionalProperties: false
Device:
description: |

Check failure on line 741 in code/API_definitions/Traffic_Influence.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

741:6 [indentation] wrong indentation: expected 6 but found 5
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:

Check failure on line 762 in code/API_definitions/Traffic_Influence.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

762:7 [indentation] wrong indentation: expected 7 but found 6
$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
Expand Down

0 comments on commit f6fe4e1

Please sign in to comment.