Commit 523d9d5f authored by piscione's avatar piscione
Browse files

Added robot tests for MEC030.

parent 3eaea384
Pipeline #7003 passed with stage
in 0 seconds
This diff is collapsed.
*** Variables ***
# Generic variables
${SCHEMA} http
${HOST} 127.0.0.1
${PORT} 8082
${response} {}
${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l
${apiRoot}
${apiName} vis
${apiVersion} v1
# Specific variables
${LOCATION_INFO_QUERY_PARAM} location_info
${ECGI} 1357924680
${UNKNOWN_ECGI} 1357924689
${LAT_VALUE} 43.7228
${LON_VALUE} 10.4017
${UNKNOWN_LAT_VALUE} 10.10
${SUB_TYPE_PROV_CHG_UU_UNI} prov_chg_uu_uni
${SUB_TYPE_PROV_CHG_UU_MBMS} prov_chg_uu_mbms
${SUB_TYPE_PROV_CHG_PC5} prov_chg_uu_pc5
${SUB_TYPE_V2X_MSG} v2x_msg
${SUB_TYPE_INVALID} INVALID_SUB_TYPE
${SUB_TYPE_RESP_PROV_CHG_UU_UNI} ProvChgUuUniSubscription
${SUB_TYPE_RESP_PROV_CHG_UU_MBMS} ProvChgUuMbmsSubscription
${SUB_TYPE_RESP_PROV_CHG_PC5} ProvChgPc5Subscription
${SUB_TYPE_RESP_V2X_MSG} V2xMsgSubscription
${SUB_PROV_CHG_UU_UNI_ID} 1
${SUB_PROV_CHG_UU_MBMS_ID} 2
${SUB_PROV_CHG_PC5_ID} 3
${SUB_V2X_MSG_ID} 4
${SUB_WRONG_PARAM} WRONG_PARAM
${NOT_EXISTING_SUB_ID} NOT_EXISTING_SUB_ID
${CALLBACK_URL} http://callback.uri/1
{
"locationGranularity": "10",
"routes": [{
"routeinfo": [
{
"location": {
"geoArea": {
"latitude": 43.7228,
"longitude": 10.4017
},
"ecgi": {
"plmn": {
"mcc": "135",
"mnc": "792"
},
"cellId": {
"cellId": "4680"
}
}
}
},
{
"location": {
"geoArea": {
"latitude": 43.73,
"longitude": 10.41
},
"ecgi": {
"plmn": {
"mcc": "135",
"mnc": "792"
},
"cellId": {
"cellId": "4685"
}
}
}
}
]
}]
}
\ No newline at end of file
{
"localityGranularity": "10",
"routes": [{
"routeinfo": [
{
"location": {
"geoArea": {
"latitude": 43.7228,
"longitude": 10.4017
},
"ecgi": {
"plmn": {
"mcc": "135",
"mnc": "792"
},
"cellId": {
"cellId": "4680"
}
}
}
},
{
"location": {
"geoArea": {
"latitude": 43.73,
"longitude": 10.41
},
"ecgi": {
"plmn": {
"mcc": "135",
"mnc": "792"
},
"cellId": {
"cellId": "4685"
}
}
}
}
]
}]
}
\ No newline at end of file
{
"locationGranularity": "10",
"routes": [{
"routeinfo": [
{
"location": {
"geoArea": {
"latitude": 40,
"longitude": 10
},
"ecgi": {
"plmn": {
"mcc": "135",
"mnc": "792"
},
"cellId": {
"cellId": "4680"
}
}
}
},
{
"location": {
"geoArea": {
"latitude": 43,
"longitude": 11
},
"ecgi": {
"plmn": {
"mcc": "135",
"mnc": "792"
},
"cellId": {
"cellId": "4685"
}
}
}
}
]
}]
}
\ No newline at end of file
{
"subscriptionType": "ProvChgPc5Subscription",
"callbackReference": "http://callback.uri/1",
"filterCriteria": {
"locationInfo": {
"ecgi": {
"plmn": {
"mcc": "001",
"mnc": "001"
},
"cellId": {
"cellId": "001"
}
},
"geoArea": {
"latitude": 42,
"longitude": 10.3
}
},
"dstLayer2Id": "1"
}
}
\ No newline at end of file
{
"subscriptionType": "ProvChgPc5Subscription",
"callbackReference": "http://callback.uri/1",
"filterCriteria": {
"locationInfo": {
"ecgi": {
"plmn": {
"mcc": "003",
"mnc": "002"
},
"cellId": {
"cellId": "005"
}
},
"geoArea": {
"latitude": 42,
"longitude": 10.3
}
},
"dstLayer2Id": "1"
},
"_links": {
"self": {
"href": "https://127.0.0.1/v1/vai/subscriptions/3"
}
}
}
\ No newline at end of file
{
"subscriptionType": "ProvChgUuMbmsSubscription",
"callbackReference": "http://callback.uri/1",
"filterCriteria": {
"locationInfo": {
"ecgi": {
"plmn": {
"mcc": "001",
"mnc": "001"
},
"cellId": {
"cellId": "001"
}
},
"geoArea": {
"latitude": 42.1,
"longitude": 10.3
}
},
"v2xServerUsd": {
"tmgi": {
"mbmsServiceId": "serviceId",
"mcc": "002",
"mnc": "002"
},
"serviceAreaIdentifier": ["id01"],
"sdpInfo": {
"ipMulticastAddress": "10.10.0.255",
"portNumber": "1234"
}
}
}
}
\ No newline at end of file
{
"subscriptionType": "ProvChgUuMbmsSubscription",
"callbackReference": "http://callback.uri/1",
"filterCriteria": {
"locationInfo": {
"ecgi": {
"plmn": {
"mcc": "001",
"mnc": "001"
},
"cellId": {
"cellId": "001"
}
},
"geoArea": {
"latitude": 43.10,
"longitude": 10.2
}
},
"v2xServerUsd": {
"tmgi": {
"mbmsServiceId": "newServiceId",
"mcc": "002",
"mnc": "002"
},
"serviceAreaIdentifier": ["id01"],
"sdpInfo": {
"ipMulticastAddress": "10.10.0.255",
"portNumber": "1234"
}
}
},
"_links": {
"self": {
"href": "https://127.0.0.1/v1/vai/subscriptions/1"
}
}
}
\ No newline at end of file
{
"subscriptionType": "InvalidProvChgUuMbmsSubscription",
"callbackReference": "http://callback.uri/1",
"filterCriteria": {
"locationInfo": {
"ecgi": {
"plmn": {
"mcc": "001",
"mnc": "001"
},
"cellId": {
"cellId": "001"
}
},
"geoArea": {
"latitude": -36495271.093864456,
"longitude": -68485808.83181348
}
},
"v2xServerUsd": {
"tmgi": {
"mbmsServiceId": "serviceId",
"mcc": "002",
"mnc": "002"
},
"serviceAreaIdentifier": ["id01"],
"sdpInfo": {
"ipMulticastAddress": "10.10.0.255",
"portNumber": "1234"
}
}
}
}
\ No newline at end of file
{
"subscriptionType": "ProvChgUuUniSubscription",
"callbackReference": "http://callback.uri/1",
"filterCriteria": {
"locationInfo": {
"ecgi": {
"plmn": {
"mcc": "001",
"mnc": "002"
},
"cellId": {
"cellId": "002"
}
},
"geoArea": {
"latitude": 42.1,
"longitude": 10.5
}
},
"v2xApplicationServer": {
"ipAddress": "10.10.0.32",
"udpPort": "12345"
}
}
}
\ No newline at end of file
{
"subscriptionType": "ProvChgUuUniSubscription",
"callbackReference": "http://callback.uri/1",
"filterCriteria": {
"locationInfo": {
"ecgi": {
"plmn": {
"mcc": "005",
"mnc": "006"
},
"cellId": {
"cellId": "007"
}
},
"geoArea": {
"latitude": 43,
"longitude": 11
}
},
"v2xApplicationServer": {
"ipAddress": "10.10.0.33",
"udpPort": "12345"
}
},
"_links": {
"self": {
"href": "https://127.0.0.1/vis/v1/subscription/1"
}
}
}
\ No newline at end of file
{
"subscriptionType": "InvalidProvChgUuUniSubscription",
"callbackReference": "http://callback.uri/1",
"filterCriteria": {
"locationInfo": {
"ecgi": {
"plmn": {
"mcc": "005",
"mnc": "006"
},
"cellId": {
"cellId": "007"
}
},
"geoArea": {
"latitude": 43,
"longitude": 11
}
},
"v2xApplicationServer": {
"ipAddress": "10.10.0.33",
"udpPort": "12345"
}
},
"_links": {
"self": {
"href": "https://127.0.0.1/vis/v1/subscription/1"
}
}
}
\ No newline at end of file
{
"stdOrganization": "ETSI",
"msgType": 2,
"msgEncodeFormat": "base64",
"msgContent": "V2X message content"
}
\ No newline at end of file
{
"stdOrganization": "UNKNOWN_ORG",
"msgType": 2,
"msgEncodeFormat": "base64",
"msgContent": "V2X message content"
}
\ No newline at end of file
{
"subscriptionType": "V2xMsgSubscription",
"callbackReference": "http://callback.uri/1",
"filterCriteria": {
"stdOrganization": "ETSI"
}
}
\ No newline at end of file
{
"subscriptionType": "V2xMsgSubscription",
"callbackReference": "http://callback.uri/1",
"filterCriteria": {
"stdOrganization": "ETSI"
},
"_links": {
"self": {
"href": "https://127.0.0.1/v1/vai/subscriptions/1"
}
}
}
\ No newline at end of file
{
"properties": {
"proInfoPc5": {
"type": "array",
"items": {
"description": "The provisioning information per location as defined below.",
"properties": {
"dstLayer2Id": {
"description": "For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS136321 [i.12].\nPLMN operators coordinate to make sure Destination Layer-2 ID(s) for different V2X services are configured in a consistent manner.",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
},
"locationInfo": {
"properties": {
"ecgi": {
"properties": {
"cellId": {
"properties": {
"cellId": {
"description": "E-UTRAN Cell Identity as a bit string (size (28)).",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
}
},
"required": [
"cellId"
],
"type": "object",
"x-etsi-ref": "6.6.2"
},
"plmn": {
"properties": {
"mcc": {
"description": "The Mobile Country Code part of PLMN Identity.",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
},
"mnc": {
"description": "The Mobile Network Code part of PLMN Identity.",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
}
},
"required": [
"mcc",
"mnc"
],
"type": "object",
"x-etsi-ref": "6.5.4"
}
},
"required": [
"plmn",
"cellId"
],
"type": "object",
"x-etsi-ref": "6.5.5"
},
"geoArea": {
"description": "Information of a geographical area.",
"properties": {
"latitude": {
"description": "Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd",
"format": "Float",
"type": "number",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "Float"
},
"longitude": {
"description": "Longitude (DATUM = WGS84)-180 to 180 in decimal degree format DDD.ddd",
"format": "Float",
"type": "number",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "Float"
}
},
"required": [
"latitude",
"longitude"
],
"type": "object",
"x-etsi-mec-cardinality": "0..1"
}
},
"type": "object",
"x-etsi-notes": "NOTE:\tEither ecgi or geoArea shall be present, but not both.",
"x-etsi-ref": "6.5.3"
},
"neighbourCellInfo": {
"description": "The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5.",
"items": {
"properties": {
"ecgi": {
"properties": {
"cellId": {
"properties": {
"cellId": {
"description": "E-UTRAN Cell Identity as a bit string (size (28)).",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
}
},
"required": [
"cellId"
],
"type": "object",
"x-etsi-ref": "6.6.2"
},
"plmn": {
"properties": {
"mcc": {
"description": "The Mobile Country Code part of PLMN Identity.",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
},
"mnc": {
"description": "The Mobile Network Code part of PLMN Identity.",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
}
},
"required": [
"mcc",
"mnc"
],
"type": "object",
"x-etsi-ref": "6.5.4"